Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002121/0.002121, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002455/0.002455, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 59.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1333, allocations: 53.32 MB / 427.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.2299/0.3632, allocations: 6.063 MB / 433.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.3663, allocations: 1.689 MB / 434.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007567/0.3671, allocations: 48.88 kB / 435 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.3677, allocations: 326.7 kB / 435.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.3691, allocations: 372.9 kB / 435.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.3698, allocations: 360.3 kB / 436 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.3719, allocations: 2.023 MB / 438 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.3744, allocations: 2.024 MB / 440 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.3759, allocations: 1.062 MB / 441.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.3775, allocations: 1.226 MB / 442.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005735/0.3781, allocations: 310.7 kB / 442.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009756/0.3791, allocations: 473 kB / 443.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007193/0.3798, allocations: 0.7441 MB / 443.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.3814, allocations: 1.261 MB / 445.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/0.3864, allocations: 3.818 MB / 448.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3864, allocations: 0.5625 kB / 448.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3864, allocations: 5.031 kB / 448.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001481/0.3865, allocations: 0 / 448.9 MB, free: 2.004 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006331/0.3929, allocations: 2.533 MB / 451.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3929, allocations: 13.14 kB / 451.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.3939, allocations: 280.8 kB / 451.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.3963, allocations: 1.335 MB / 453.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.3964, allocations: 167.7 kB / 453.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.3968, allocations: 217.9 kB / 453.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.402, allocations: 2.557 MB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.4021, allocations: 0 / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.4023, allocations: 90.72 kB / 456.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.4024, allocations: 90 kB / 456.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.4065, allocations: 2.146 MB / 458.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.4195, allocations: 7.678 MB / 466 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4209, allocations: 1.217 MB / 467.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.422, allocations: 0.5928 MB / 467.8 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.422, allocations: 14.88 kB / 467.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4221, allocations: 40.69 kB / 467.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.397e-06/0.4221, allocations: 2.641 kB / 467.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004484/0.4265, allocations: 2.452 MB / 470.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4266, allocations: 58.84 kB / 470.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.4277, allocations: 0.811 MB / 471.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.4278, allocations: 36.77 kB / 471.2 MB, free: 3.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006929/0.4285, allocations: 0.9388 MB / 472.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.4287, allocations: 245.6 kB / 472.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4289, allocations: 149.1 kB / 472.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.4292, allocations: 396.7 kB / 472.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.4298, allocations: 360.3 kB / 473.3 MB, free: 2.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/0.4306, allocations: 0.5829 MB / 473.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.4321, allocations: 0.9816 MB / 474.9 MB, free: 256 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4321, allocations: 0 / 474.9 MB, free: 256 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002142/0.4342, allocations: 1.159 MB / 476 MB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.4343, allocations: 8 kB / 476 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.4343, allocations: 8 kB / 476 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.4346, allocations: 108.8 kB / 476.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.4353, allocations: 167.7 kB / 476.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.4379, allocations: 2.326 MB / 478.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.4385, allocations: 44.78 kB / 478.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.4386, allocations: 40.17 kB / 478.7 MB, free: 12.25 MB / 382.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.001211/0.4398, allocations: 0.6496 MB / 479.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.44, allocations: 95.31 kB / 479.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.4402, allocations: 107.7 kB / 479.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.4403, allocations: 8 kB / 479.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.4403, allocations: 0 / 479.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4403, allocations: 3.984 kB / 479.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/0.445, allocations: 2.668 MB / 482.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4451, allocations: 0 / 482.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.4455, allocations: 112 kB / 482.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.4458, allocations: 100.7 kB / 482.5 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.4459, allocations: 23.92 kB / 482.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.4484, allocations: 2.254 MB / 484.7 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.4484, allocations: 8.062 kB / 484.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.451, allocations: 1.413 MB / 486.2 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.4516, allocations: 228.5 kB / 486.4 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.4517, allocations: 19.94 kB / 486.4 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.4521, allocations: 39.95 kB / 486.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4523, allocations: 52.48 kB / 486.5 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.4523, allocations: 23.98 kB / 486.5 MB, free: 4.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008632/0.4532, allocations: 0.5654 MB / 487.1 MB, free: 3.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4532, allocations: 0 / 487.1 MB, free: 3.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001418/0.4546, allocations: 296 kB / 487.4 MB, free: 3.312 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.0003234/0.4549, allocations: 139.1 kB / 487.5 MB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.4567, allocations: 0.9677 MB / 488.5 MB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4568, allocations: 4.609 kB / 488.5 MB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009031/0.4577, allocations: 0.5366 MB / 489 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.4588, allocations: 223.3 kB / 489.2 MB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.4648, allocations: 3.279 MB / 492.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.4664, allocations: 1.724 MB / 494.2 MB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006094/0.467, allocations: 209.4 kB / 494.4 MB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.4672, allocations: 63.42 kB / 494.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4672, allocations: 0 / 494.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of Templates: time 0.02684/0.494, allocations: 12.63 MB / 0.4952 GB, free: 15.58 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.98466644063592]