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.001324/0.001324, allocations: 114.1 kB / 17.07 MB, free: 6.016 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.001204/0.001204, allocations: 191 kB / 18 MB, free: 5.098 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.397/1.397, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 43.94 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3416, allocations: 49.43 MB / 400.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006898/0.3485, allocations: 6.009 MB / 406.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.3515, allocations: 1.643 MB / 408.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.3521, allocations: 47.81 kB / 408.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.3527, allocations: 305.4 kB / 408.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009943/0.3537, allocations: 365.5 kB / 409.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.3543, allocations: 359.5 kB / 409.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.3561, allocations: 2.009 MB / 411.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.3589, allocations: 2.731 MB / 414.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.3602, allocations: 1.036 MB / 415.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.3617, allocations: 1.199 MB / 416.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003392/0.362, allocations: 308 kB / 416.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007494/0.3628, allocations: 479.6 kB / 417.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006044/0.3634, allocations: 0.7364 MB / 417.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.3646, allocations: 1.264 MB / 419.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.368, allocations: 3.811 MB / 423 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.368, allocations: 4 kB / 423 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3681, allocations: 0 / 423 MB, free: 2.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.428e-05/0.3681, allocations: 0 / 423 MB, free: 2.648 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.004409/0.3725, allocations: 2.518 MB / 425.5 MB, free: 68 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3726, allocations: 19.83 kB / 425.5 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005624/0.3732, allocations: 246.5 kB / 425.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.3749, allocations: 1.311 MB / 427.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.375, allocations: 172.9 kB / 427.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.3753, allocations: 221.1 kB / 427.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.3792, allocations: 2.538 MB / 430 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.03e-05/0.3792, allocations: 0 / 430 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.3794, allocations: 91.94 kB / 430.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.3795, allocations: 60 kB / 430.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.3828, allocations: 2.145 MB / 432.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009834/0.3927, allocations: 7.509 MB / 439.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3938, allocations: 1.253 MB / 441.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.3949, allocations: 0.6374 MB / 441.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.3949, allocations: 8.562 kB / 441.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3949, allocations: 39.12 kB / 441.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/0.395, allocations: 0 / 441.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003732/0.3987, allocations: 2.454 MB / 444.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.3987, allocations: 63.91 kB / 444.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/0.3996, allocations: 0.7894 MB / 445 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.3997, allocations: 37.7 kB / 445.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/0.4002, allocations: 0.948 MB / 446 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.4004, allocations: 230 kB / 446.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.4006, allocations: 150.6 kB / 446.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4008, allocations: 390.8 kB / 446.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.4013, allocations: 361.8 kB / 447.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006885/0.402, allocations: 0.5795 MB / 447.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.4033, allocations: 0.9932 MB / 448.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4033, allocations: 4 kB / 448.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001695/0.405, allocations: 1.147 MB / 449.9 MB, free: 6.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.405, allocations: 12.09 kB / 449.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.405, allocations: 8 kB / 449.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.4053, allocations: 116.7 kB / 450 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.406, allocations: 175.6 kB / 450.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.4081, allocations: 2.329 MB / 452.5 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.4086, allocations: 39.91 kB / 452.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.4086, allocations: 39.98 kB / 452.6 MB, free: 4.07 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.0007952/0.4094, allocations: 0.6418 MB / 453.2 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.4096, allocations: 91.42 kB / 453.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.4098, allocations: 95.56 kB / 453.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.4098, allocations: 16 kB / 453.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4098, allocations: 4 kB / 453.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4099, allocations: 3.984 kB / 453.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.4136, allocations: 2.655 MB / 456.1 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4137, allocations: 4 kB / 456.1 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.4141, allocations: 108 kB / 456.2 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.4144, allocations: 96.78 kB / 456.3 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.4144, allocations: 19.98 kB / 456.3 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.4164, allocations: 2.267 MB / 458.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4164, allocations: 4 kB / 458.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.4184, allocations: 1.424 MB / 460 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.4187, allocations: 228.5 kB / 460.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-05/0.4188, allocations: 23.97 kB / 460.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.4192, allocations: 35.97 kB / 460.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4194, allocations: 52.48 kB / 460.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.4194, allocations: 20 kB / 460.3 MB, free: 12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007088/0.4201, allocations: 0.5536 MB / 460.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.4201, allocations: 0 / 460.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001007/0.4212, allocations: 307.9 kB / 461.2 MB, free: 11.15 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.0002434/0.4214, allocations: 140.7 kB / 461.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.423, allocations: 1.003 MB / 462.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.423, allocations: 0.5 kB / 462.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.4238, allocations: 0.5678 MB / 462.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4249, allocations: 223.1 kB / 463.1 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.4297, allocations: 3.252 MB / 466.4 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.4309, allocations: 1.724 MB / 468.1 MB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004995/0.4314, allocations: 203.1 kB / 468.3 MB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.4316, allocations: 59.44 kB / 468.4 MB, free: 3.871 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4316, allocations: 0 / 468.4 MB, free: 3.871 MB / 382.1 MB Notification: Performance of Templates: time 0.0211/0.4527, allocations: 12.46 MB / 480.8 MB, free: 7.551 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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