Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 104.9 kB / 17.72 MB, free: 5.242 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.001211/0.001212, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.602/1.602, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.00125/0.00125, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1228, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.2938/0.4166, allocations: 5.952 MB / 381.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.422, allocations: 1.689 MB / 382.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.4234, allocations: 38.16 kB / 382.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009069/0.4245, allocations: 317.9 kB / 383.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.4263, allocations: 371.5 kB / 383.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.4274, allocations: 358.9 kB / 383.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003328/0.4308, allocations: 2.018 MB / 385.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.4355, allocations: 2.692 MB / 388.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.4387, allocations: 1.04 MB / 389.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.4423, allocations: 1.203 MB / 390.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006859/0.443, allocations: 308.8 kB / 391.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.4443, allocations: 483.9 kB / 391.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008497/0.4452, allocations: 0.7231 MB / 392.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.4476, allocations: 1.266 MB / 393.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006475/0.4541, allocations: 3.793 MB / 397.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4542, allocations: 0 / 397.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4542, allocations: 0 / 397.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001795/0.4544, allocations: 4 kB / 397.4 MB, free: 3.25 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007334/0.4617, allocations: 2.452 MB / 399.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4618, allocations: 13.48 kB / 399.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007558/0.4625, allocations: 245.8 kB / 400.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.4646, allocations: 1.177 MB / 401.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.4647, allocations: 168.3 kB / 401.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.4652, allocations: 221.8 kB / 401.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006229/0.4714, allocations: 2.54 MB / 404.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.4715, allocations: 0 / 404.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.4717, allocations: 91.41 kB / 404.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.4719, allocations: 60.14 kB / 404.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/0.4763, allocations: 2.143 MB / 406.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.4896, allocations: 7.482 MB / 413.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.4911, allocations: 1.24 MB / 415.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.4922, allocations: 0.6296 MB / 415.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.4922, allocations: 8.562 kB / 415.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.4923, allocations: 39.12 kB / 415.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 3.476e-06/0.4923, allocations: 8 kB / 415.9 MB, free: 6.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.00461/0.4969, allocations: 2.439 MB / 418.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.497, allocations: 55.97 kB / 418.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.498, allocations: 0.801 MB / 419.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.4981, allocations: 37.7 kB / 419.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006653/0.4987, allocations: 0.9176 MB / 420.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.4989, allocations: 221.4 kB / 420.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.4992, allocations: 146.6 kB / 420.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4993, allocations: 394.7 kB / 420.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.4999, allocations: 361.8 kB / 421.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/0.5007, allocations: 0.5906 MB / 421.8 MB, free: 184 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.5023, allocations: 0.9816 MB / 422.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5023, allocations: 4 kB / 422.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001874/0.5042, allocations: 1.159 MB / 423.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.5043, allocations: 11.94 kB / 423.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.5043, allocations: 8 kB / 424 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.5046, allocations: 104.8 kB / 424.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.5053, allocations: 179.8 kB / 424.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.5077, allocations: 2.325 MB / 426.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.5083, allocations: 39.97 kB / 426.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.5084, allocations: 28 kB / 426.6 MB, free: 11.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001273/0.5096, allocations: 0.6497 MB / 427.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.5098, allocations: 87 kB / 427.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.5101, allocations: 103.5 kB / 427.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.5101, allocations: 8 kB / 427.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.5101, allocations: 0 / 427.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.5101, allocations: 3.984 kB / 427.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.5147, allocations: 2.662 MB / 430.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5147, allocations: 0 / 430.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.5152, allocations: 107.9 kB / 430.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.5154, allocations: 104.9 kB / 430.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.5155, allocations: 24.14 kB / 430.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.5177, allocations: 2.274 MB / 432.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5178, allocations: 0 / 432.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.5199, allocations: 1.416 MB / 434.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.5203, allocations: 232.2 kB / 434.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.5204, allocations: 12 kB / 434.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.5208, allocations: 47.88 kB / 434.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.521, allocations: 48.5 kB / 434.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.521, allocations: 23.92 kB / 434.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007238/0.5217, allocations: 0.5536 MB / 435 MB, free: 2.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5218, allocations: 4 kB / 435 MB, free: 2.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00115/0.5229, allocations: 300 kB / 435.3 MB, free: 2.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002813/0.5232, allocations: 131.1 kB / 435.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.5249, allocations: 1.018 MB / 436.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5249, allocations: 1.688 kB / 436.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.5258, allocations: 0.5604 MB / 437 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5269, allocations: 212 kB / 437.2 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.5326, allocations: 3.198 MB / 440.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.534, allocations: 1.724 MB / 442.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005907/0.5346, allocations: 199.1 kB / 442.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.5348, allocations: 63.42 kB / 442.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5348, allocations: 4 kB / 442.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Templates: time 0.02372/0.5585, allocations: 12.46 MB / 454.8 MB, free: 14.48 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches