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.001488/0.001488, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001266/0.001266, allocations: 191 kB / 19.29 MB, free: 3.715 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.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001235/0.001236, allocations: 56.3 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08702, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.017/0.1041, allocations: 16.85 MB / 345.6 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009271/0.1134, allocations: 4.236 MB / 349.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.1167, allocations: 115.7 kB / 349.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01599/0.1327, allocations: 7.46 MB / 357.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006306/0.139, allocations: 1.553 MB / 358.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.1427, allocations: 1.2 MB / 360.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.153, allocations: 8.569 MB / 368.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1877/0.3407, allocations: 22.57 MB / 391.3 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005893/0.3466, allocations: 4.958 MB / 396.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008161/0.3548, allocations: 5.534 MB / 401.8 MB, free: 15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002984/0.3578, allocations: 1.402 MB / 403.2 MB, free: 15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.3621, allocations: 1.664 MB / 404.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.3646, allocations: 2.708 MB / 407.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005824/0.3705, allocations: 5.382 MB / 412.9 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.3837, allocations: 18.53 MB / 431.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3838, allocations: 4 kB / 431.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3838, allocations: 0 / 431.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004214/0.3842, allocations: 0 / 431.5 MB, free: 9.137 MB / 334.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.04566/0.4299, allocations: 10.79 MB / 442.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.43, allocations: 11.89 kB / 442.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04084/0.4709, allocations: 5.712 MB / 448 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.4823, allocations: 4.834 MB / 452.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006618/0.483, allocations: 0.7134 MB / 453.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003062/0.4861, allocations: 0.9168 MB / 454.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0353/0.5214, allocations: 13.6 MB / 468 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000398/0.5218, allocations: 7.906 kB / 468.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002931/0.5248, allocations: 395 kB / 468.4 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005032/0.5253, allocations: 464 kB / 468.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/0.5522, allocations: 12.82 MB / 481.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07565/0.6279, allocations: 46.33 MB / 0.5157 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/0.6453, allocations: 17.09 MB / 0.5324 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.6484, allocations: 1.868 MB / 0.5342 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2951/0.9436, allocations: 5.95 MB / 0.54 GB, free: 147.5 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.9436, allocations: 54.84 kB / 0.54 GB, free: 147.5 MB / 446.2 MB Notification: Performance of pre-optimization done (n=188): time 4.849e-06/0.9437, allocations: 2.781 kB / 0.54 GB, free: 147.5 MB / 446.2 MB Notification: Performance of matching and sorting (n=188): time 0.008073/0.9517, allocations: 4.309 MB / 0.5442 GB, free: 146.3 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.9518, allocations: 72.44 kB / 0.5443 GB, free: 146.2 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/0.957, allocations: 3.322 MB / 0.5476 GB, free: 145.1 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.9572, allocations: 61.89 kB / 0.5476 GB, free: 145.1 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001999/0.9592, allocations: 4.187 MB / 0.5517 GB, free: 142.1 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/0.9597, allocations: 0.6877 MB / 0.5524 GB, free: 141.6 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.9609, allocations: 1.059 MB / 0.5534 GB, free: 141 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.961, allocations: 306.2 kB / 0.5537 GB, free: 140.7 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.9636, allocations: 2.041 MB / 0.5557 GB, free: 140 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.9667, allocations: 4.695 MB / 0.5603 GB, free: 135.7 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005466/0.9722, allocations: 7.097 MB / 0.5672 GB, free: 130.1 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-05/0.9723, allocations: 26.75 kB / 0.5672 GB, free: 130.1 MB / 446.2 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.00861/0.9809, allocations: 7.012 MB / 0.5741 GB, free: 127.4 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.981, allocations: 44.22 kB / 0.5741 GB, free: 127.4 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.877e-05/0.981, allocations: 91.06 kB / 0.5742 GB, free: 127.4 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007195/0.9818, allocations: 430.2 kB / 0.5746 GB, free: 127.3 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.9848, allocations: 1.181 MB / 0.5758 GB, free: 127.2 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.9887, allocations: 4.36 MB / 0.58 GB, free: 124.4 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/0.992, allocations: 0.7163 MB / 0.5807 GB, free: 124 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/0.9923, allocations: 288.8 kB / 0.581 GB, free: 123.9 MB / 446.2 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.003904/0.9962, allocations: 3.487 MB / 0.5844 GB, free: 121.9 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.9967, allocations: 284.2 kB / 0.5847 GB, free: 121.6 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/1.001, allocations: 3.315 MB / 0.5879 GB, free: 118.8 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002762/1.004, allocations: 2.542 MB / 0.5904 GB, free: 116.6 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/1.004, allocations: 4 kB / 0.5904 GB, free: 116.6 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.004, allocations: 15.77 kB / 0.5904 GB, free: 116.6 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.016, allocations: 9.299 MB / 0.5995 GB, free: 108.5 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.016, allocations: 0 / 0.5995 GB, free: 108.5 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.017, allocations: 359.5 kB / 0.5999 GB, free: 108.1 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005877/1.018, allocations: 325.1 kB / 0.6002 GB, free: 107.8 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.018, allocations: 36 kB / 0.6002 GB, free: 107.8 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/1.021, allocations: 4.191 MB / 0.6043 GB, free: 103.5 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.021, allocations: 4 kB / 0.6043 GB, free: 103.4 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/1.026, allocations: 4.707 MB / 0.6089 GB, free: 98.71 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.028, allocations: 0.5868 MB / 0.6095 GB, free: 98.1 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003234/1.028, allocations: 39.94 kB / 0.6095 GB, free: 98.06 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.029, allocations: 131.8 kB / 0.6096 GB, free: 97.93 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/1.029, allocations: 121.8 kB / 0.6097 GB, free: 97.82 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.029, allocations: 60.06 kB / 0.6098 GB, free: 97.76 MB / 446.2 MB Notification: Performance of sorting global known variables: time 0.002379/1.032, allocations: 2.198 MB / 0.612 GB, free: 95.56 MB / 446.2 MB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 0.612 GB, free: 95.56 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.004309/1.036, allocations: 2.028 MB / 0.6139 GB, free: 93.52 MB / 446.2 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.0003682/1.037, allocations: 194.6 kB / 0.6141 GB, free: 93.33 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.005439/1.042, allocations: 4.729 MB / 0.6187 GB, free: 88.61 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.042, allocations: 0.5 kB / 0.6187 GB, free: 88.61 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/1.044, allocations: 1.594 MB / 0.6203 GB, free: 87.01 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/1.047, allocations: 0.6937 MB / 0.621 GB, free: 86.34 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.064, allocations: 13.69 MB / 0.6343 GB, free: 72.65 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/1.068, allocations: 5.796 MB / 0.64 GB, free: 66.82 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 0.003446/1.072, allocations: 1.828 MB / 0.6418 GB, free: 64.98 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/1.072, allocations: 237.1 kB / 0.642 GB, free: 64.75 MB / 446.2 MB Notification: Performance of SimCode: time 7.92e-07/1.072, allocations: 4 kB / 0.642 GB, free: 64.75 MB / 446.2 MB Notification: Performance of Templates: time 0.0569/1.129, allocations: 37.63 MB / 0.6788 GB, free: 27.21 MB / 446.2 MB 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 -s gbode -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