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.001265/0.001265, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.001492/0.001492, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.472/1.472, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.001854/0.001854, allocations: 63.89 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.0968, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007972/0.1048, allocations: 6.062 MB / 433.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.1081, allocations: 1.698 MB / 435.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004845/0.1085, allocations: 47.81 kB / 435.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.1092, allocations: 325.4 kB / 436 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1102, allocations: 381.4 kB / 436.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.1109, allocations: 355.6 kB / 436.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.1132, allocations: 2.028 MB / 438.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.1158, allocations: 2.032 MB / 440.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.1171, allocations: 1.052 MB / 441.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.1188, allocations: 1.226 MB / 443 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.1192, allocations: 312 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.12, allocations: 475.6 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007119/0.1208, allocations: 0.7325 MB / 444.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.1221, allocations: 1.264 MB / 445.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1826/0.3048, allocations: 3.826 MB / 449.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3048, allocations: 0.8438 kB / 449.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3048, allocations: 0 / 449.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.3049, allocations: 0.5 kB / 449.6 MB, free: 15.26 MB / 366.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.005059/0.3099, allocations: 2.531 MB / 452.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.31, allocations: 8.781 kB / 452.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.3109, allocations: 277.7 kB / 452.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.3133, allocations: 1.335 MB / 453.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.3134, allocations: 171.4 kB / 453.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003753/0.3138, allocations: 218 kB / 454.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004794/0.3186, allocations: 2.56 MB / 456.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.3186, allocations: 0 / 456.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.3188, allocations: 90.5 kB / 456.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.3189, allocations: 88.16 kB / 456.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004243/0.3232, allocations: 2.145 MB / 459 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.3342, allocations: 7.68 MB / 466.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.3352, allocations: 1.21 MB / 467.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.3361, allocations: 0.5959 MB / 468.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.3361, allocations: 12.02 kB / 468.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3361, allocations: 37.84 kB / 468.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.3361, allocations: 0 / 468.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003921/0.34, allocations: 2.455 MB / 471 MB, free: 6.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.3401, allocations: 58.59 kB / 471.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.3409, allocations: 0.8 MB / 471.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.341, allocations: 37.08 kB / 471.9 MB, free: 5.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.3413, allocations: 0.9548 MB / 472.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3415, allocations: 242.6 kB / 473.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.3417, allocations: 143.4 kB / 473.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.3417, allocations: 397.4 kB / 473.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.3422, allocations: 359.7 kB / 474 MB, free: 4.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.3428, allocations: 0.586 MB / 474.6 MB, free: 3.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3439, allocations: 0.9873 MB / 475.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.3439, allocations: 2.781 kB / 475.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001657/0.3456, allocations: 1.156 MB / 476.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3456, allocations: 8.562 kB / 476.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3456, allocations: 6.438 kB / 476.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.3459, allocations: 110.7 kB / 476.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.3466, allocations: 171.1 kB / 477 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.3484, allocations: 2.332 MB / 479.3 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.3489, allocations: 38.69 kB / 479.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.349, allocations: 39.14 kB / 479.4 MB, free: 376 kB / 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.0009923/0.35, allocations: 0.65 MB / 480.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.3502, allocations: 89.91 kB / 480.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.3504, allocations: 106.5 kB / 480.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/0.3504, allocations: 8.781 kB / 480.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.3504, allocations: 0.9062 kB / 480.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3505, allocations: 3.984 kB / 480.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.3551, allocations: 2.664 MB / 482.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3551, allocations: 1.094 kB / 482.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.3556, allocations: 112.5 kB / 483 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.3558, allocations: 100 kB / 483.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.3559, allocations: 16.5 kB / 483.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.3581, allocations: 2.267 MB / 485.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3581, allocations: 5.594 kB / 485.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.3604, allocations: 1.421 MB / 486.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.3608, allocations: 225.3 kB / 487.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.3609, allocations: 21.84 kB / 487.1 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.3613, allocations: 41.08 kB / 487.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3615, allocations: 50.25 kB / 487.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.3615, allocations: 21.92 kB / 487.2 MB, free: 11.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000799/0.3623, allocations: 0.5612 MB / 487.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3623, allocations: 0 / 487.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001235/0.3636, allocations: 301.9 kB / 488 MB, free: 10.67 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.0002663/0.3638, allocations: 133.4 kB / 488.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.3655, allocations: 0.9715 MB / 489.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3655, allocations: 4.125 kB / 489.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.3664, allocations: 0.5349 MB / 489.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3675, allocations: 216.4 kB / 489.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.3729, allocations: 3.266 MB / 493.2 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.3744, allocations: 1.694 MB / 494.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.3747, allocations: 63.44 kB / 494.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3747, allocations: 4 kB / 494.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of Templates: time 0.03947/0.4142, allocations: 28.85 MB / 0.5115 GB, free: 9.035 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.212982886936516]