Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001148/0.001149, allocations: 188.5 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 55.91 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2892, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006854/0.2961, allocations: 6.007 MB / 407.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.2994, allocations: 1.643 MB / 409 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008986/0.3003, allocations: 47.81 kB / 409.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.3011, allocations: 305.5 kB / 409.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.3026, allocations: 369.5 kB / 409.8 MB, free: 456 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.3035, allocations: 351.5 kB / 410.1 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.3057, allocations: 2.013 MB / 412.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002996/0.3087, allocations: 2.731 MB / 414.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.31, allocations: 1.04 MB / 415.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.3118, allocations: 1.199 MB / 417.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.3123, allocations: 308 kB / 417.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.3132, allocations: 479.6 kB / 417.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006905/0.3139, allocations: 0.7364 MB / 418.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.3155, allocations: 1.272 MB / 419.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.3195, allocations: 3.794 MB / 423.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3195, allocations: 4 kB / 423.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3195, allocations: 0 / 423.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.919e-05/0.3196, allocations: 0 / 423.7 MB, free: 2.445 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005101/0.3248, allocations: 2.465 MB / 426.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3248, allocations: 15.89 kB / 426.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/0.3254, allocations: 234.2 kB / 426.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.3278, allocations: 1.306 MB / 427.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.328, allocations: 168.9 kB / 427.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.3283, allocations: 220.1 kB / 428.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/0.3332, allocations: 2.545 MB / 430.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.3333, allocations: 4 kB / 430.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/0.3335, allocations: 88 kB / 430.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/0.3336, allocations: 60 kB / 430.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/0.3377, allocations: 2.141 MB / 432.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.3508, allocations: 7.478 MB / 440.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.3521, allocations: 1.261 MB / 441.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.3531, allocations: 0.6413 MB / 442.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.3532, allocations: 8.562 kB / 442.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.3532, allocations: 39.06 kB / 442.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.065e-06/0.3532, allocations: 0 / 442.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004232/0.3575, allocations: 2.424 MB / 444.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3575, allocations: 59.97 kB / 444.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3586, allocations: 0.7932 MB / 445.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.3586, allocations: 41.69 kB / 445.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/0.3592, allocations: 0.9138 MB / 446.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.3593, allocations: 228.7 kB / 446.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.3596, allocations: 146.5 kB / 446.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3598, allocations: 390.8 kB / 447.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.3603, allocations: 361.8 kB / 447.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/0.361, allocations: 0.5873 MB / 448.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.3624, allocations: 0.9854 MB / 449.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.3624, allocations: 4 kB / 449.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001831/0.3642, allocations: 1.143 MB / 450.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3643, allocations: 11.94 kB / 450.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.3643, allocations: 8 kB / 450.4 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.3646, allocations: 116.7 kB / 450.5 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.3653, allocations: 167.8 kB / 450.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.3675, allocations: 2.337 MB / 453 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.3681, allocations: 35.97 kB / 453 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.3682, allocations: 32 kB / 453.1 MB, free: 4.035 MB / 366.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.0009982/0.3692, allocations: 0.6535 MB / 453.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.3694, allocations: 90.89 kB / 453.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.3696, allocations: 99.62 kB / 453.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/0.3696, allocations: 8 kB / 453.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.3696, allocations: 4 kB / 453.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3697, allocations: 3.984 kB / 453.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.3744, allocations: 2.643 MB / 456.6 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3745, allocations: 8.156 kB / 456.6 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.375, allocations: 111.8 kB / 456.7 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/0.3752, allocations: 88.78 kB / 456.8 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.3753, allocations: 24.05 kB / 456.8 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.3774, allocations: 2.271 MB / 459.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3774, allocations: 4.062 kB / 459.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.3795, allocations: 1.412 MB / 460.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.38, allocations: 224 kB / 460.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.3801, allocations: 19.98 kB / 460.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.3806, allocations: 39.91 kB / 460.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3807, allocations: 52.55 kB / 460.8 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.3808, allocations: 20 kB / 460.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008207/0.3816, allocations: 0.5536 MB / 461.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3816, allocations: 0 / 461.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001155/0.3828, allocations: 300 kB / 461.7 MB, free: 11.14 MB / 382.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.000318/0.3831, allocations: 159 kB / 461.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3849, allocations: 0.9994 MB / 462.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3849, allocations: 0 / 462.8 MB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009016/0.3858, allocations: 0.56 MB / 463.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.3871, allocations: 227.1 kB / 463.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/0.393, allocations: 3.187 MB / 466.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.3945, allocations: 1.68 MB / 468.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.3948, allocations: 67.42 kB / 468.5 MB, free: 4.148 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3948, allocations: 4 kB / 468.5 MB, free: 4.145 MB / 382.1 MB Notification: Performance of Templates: time 0.03935/0.4342, allocations: 28.77 MB / 497.3 MB, free: 7.426 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches