Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 103.9 kB / 18.39 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001638, allocations: 186.4 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07961, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.1782/0.2578, allocations: 16.85 MB / 392.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008626/0.2665, allocations: 4.236 MB / 396.9 MB, free: 316 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.2698, allocations: 119.8 kB / 397 MB, free: 292 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0164/0.2862, allocations: 7.464 MB / 404.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.2927, allocations: 1.535 MB / 406 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.2964, allocations: 1.212 MB / 407.2 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.3072, allocations: 8.57 MB / 415.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03419/0.3414, allocations: 22.59 MB / 438.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007799/0.3492, allocations: 4.961 MB / 443.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009192/0.3585, allocations: 5.528 MB / 448.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003962/0.3625, allocations: 1.41 MB / 450.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005817/0.3683, allocations: 1.656 MB / 452 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004345/0.3727, allocations: 2.708 MB / 454.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01024/0.383, allocations: 5.381 MB / 460 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02234/0.4054, allocations: 18.53 MB / 478.6 MB, free: 8.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4054, allocations: 0 / 478.6 MB, free: 8.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4054, allocations: 0 / 478.6 MB, free: 8.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005699/0.406, allocations: 4 kB / 478.6 MB, free: 8.625 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03279/0.4388, allocations: 10.78 MB / 489.4 MB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.4389, allocations: 19.88 kB / 489.4 MB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03081/0.4697, allocations: 5.694 MB / 495.1 MB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.4809, allocations: 4.857 MB / 499.9 MB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006744/0.4816, allocations: 0.6987 MB / 0.4889 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003827/0.4855, allocations: 0.9218 MB / 0.4898 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03386/0.5193, allocations: 13.6 MB / 0.5031 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/0.5196, allocations: 11.91 kB / 0.5031 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00233/0.522, allocations: 384 kB / 0.5035 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004332/0.5224, allocations: 460 kB / 0.5039 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02664/0.5491, allocations: 12.82 MB / 0.5164 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.412/0.9611, allocations: 46.33 MB / 0.5616 GB, free: 120.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.9732, allocations: 17.09 MB / 0.5783 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.9764, allocations: 1.865 MB / 0.5802 GB, free: 105.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009185/0.9856, allocations: 5.964 MB / 0.586 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.9856, allocations: 60.75 kB / 0.586 GB, free: 105.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.867e-06/0.9856, allocations: 0 / 0.586 GB, free: 105.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007008/0.9927, allocations: 4.309 MB / 0.5903 GB, free: 104.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.9927, allocations: 72.09 kB / 0.5903 GB, free: 104.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/0.9969, allocations: 3.321 MB / 0.5936 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.9971, allocations: 60.08 kB / 0.5936 GB, free: 103.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/0.999, allocations: 4.188 MB / 0.5977 GB, free: 100.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.9994, allocations: 0.6898 MB / 0.5984 GB, free: 100.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/1.001, allocations: 1.066 MB / 0.5994 GB, free: 99.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/1.001, allocations: 301.1 kB / 0.5997 GB, free: 99.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/1.003, allocations: 2.039 MB / 0.6017 GB, free: 98.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/1.006, allocations: 4.693 MB / 0.6063 GB, free: 94.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005524/1.011, allocations: 7.087 MB / 0.6132 GB, free: 88.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-05/1.012, allocations: 31.06 kB / 0.6132 GB, free: 88.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008839/1.02, allocations: 7.012 MB / 0.6201 GB, free: 85.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/1.02, allocations: 47.25 kB / 0.6201 GB, free: 85.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.007e-05/1.021, allocations: 90.66 kB / 0.6202 GB, free: 85.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/1.021, allocations: 438.7 kB / 0.6206 GB, free: 85.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.024, allocations: 1.179 MB / 0.6218 GB, free: 85.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/1.028, allocations: 4.371 MB / 0.6261 GB, free: 82.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/1.031, allocations: 0.7186 MB / 0.6268 GB, free: 81.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/1.032, allocations: 288.6 kB / 0.627 GB, free: 81.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004355/1.036, allocations: 3.481 MB / 0.6304 GB, free: 79.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005756/1.037, allocations: 284.5 kB / 0.6307 GB, free: 79.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/1.041, allocations: 3.321 MB / 0.6339 GB, free: 76.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002842/1.044, allocations: 2.538 MB / 0.6364 GB, free: 73.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.044, allocations: 4 kB / 0.6364 GB, free: 73.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.044, allocations: 11.95 kB / 0.6364 GB, free: 73.76 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/1.057, allocations: 9.301 MB / 0.6455 GB, free: 64.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.057, allocations: 0 / 0.6455 GB, free: 64.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.059, allocations: 355.5 kB / 0.6459 GB, free: 64.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007123/1.059, allocations: 320.5 kB / 0.6462 GB, free: 63.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.06, allocations: 51.86 kB / 0.6462 GB, free: 63.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/1.063, allocations: 4.191 MB / 0.6503 GB, free: 59.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.063, allocations: 0 / 0.6503 GB, free: 59.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005498/1.069, allocations: 4.698 MB / 0.6549 GB, free: 54.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009912/1.07, allocations: 0.5869 MB / 0.6555 GB, free: 54.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/1.07, allocations: 36.06 kB / 0.6555 GB, free: 54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.071, allocations: 139.8 kB / 0.6556 GB, free: 53.87 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.071, allocations: 125.8 kB / 0.6558 GB, free: 53.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/1.072, allocations: 52 kB / 0.6558 GB, free: 53.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002531/1.074, allocations: 2.194 MB / 0.658 GB, free: 51.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.074, allocations: 0 / 0.658 GB, free: 51.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004481/1.079, allocations: 2.036 MB / 0.6599 GB, free: 49.46 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003654/1.079, allocations: 204.4 kB / 0.6601 GB, free: 49.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005485/1.084, allocations: 4.717 MB / 0.6647 GB, free: 44.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.084, allocations: 1.938 kB / 0.6647 GB, free: 44.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.086, allocations: 1.599 MB / 0.6663 GB, free: 42.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.089, allocations: 0.68 MB / 0.667 GB, free: 42.28 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/1.109, allocations: 13.43 MB / 0.6801 GB, free: 28.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005083/1.114, allocations: 5.619 MB / 0.6856 GB, free: 23.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/1.115, allocations: 287.4 kB / 0.6858 GB, free: 22.91 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/1.115, allocations: 3.938 kB / 0.6858 GB, free: 22.91 MB / 478.1 MB Notification: Performance of Templates: time 0.3466/1.462, allocations: 137.5 MB / 0.8201 GB, free: 97.7 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches