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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 51.92 kB / 348.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2513, allocations: 49.15 MB / 397.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006936/0.2582, allocations: 6.016 MB / 403.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.2621, allocations: 1.698 MB / 405.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.2632, allocations: 49.38 kB / 405.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.264, allocations: 325.7 kB / 405.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.2658, allocations: 380.6 kB / 406.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.2667, allocations: 367.2 kB / 406.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002421/0.2691, allocations: 2.014 MB / 408.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.2711, allocations: 1.574 MB / 410 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.2727, allocations: 1.06 MB / 411.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.2745, allocations: 1.223 MB / 412.3 MB, free: 352 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004577/0.2749, allocations: 309.2 kB / 412.6 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009849/0.2759, allocations: 0.5472 MB / 413.1 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006672/0.2766, allocations: 0.7318 MB / 413.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.2782, allocations: 1.263 MB / 415.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.2833, allocations: 3.807 MB / 418.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2833, allocations: 0 / 418.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2833, allocations: 0.9688 kB / 418.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001323/0.2834, allocations: 3.984 kB / 418.9 MB, free: 11.82 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.006851/0.2903, allocations: 2.436 MB / 421.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2903, allocations: 13.83 kB / 421.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007976/0.2911, allocations: 250.3 kB / 421.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.2937, allocations: 1.121 MB / 422.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.2939, allocations: 175.4 kB / 422.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004047/0.2943, allocations: 225.4 kB / 423.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005414/0.2997, allocations: 2.54 MB / 425.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.2997, allocations: 0 / 425.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.2999, allocations: 99.92 kB / 425.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/0.3, allocations: 56 kB / 425.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004171/0.3042, allocations: 2.137 MB / 428 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.3178, allocations: 7.35 MB / 435.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3189, allocations: 0.6937 MB / 436 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.32, allocations: 0.5946 MB / 436.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.32, allocations: 4.5 kB / 436.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3201, allocations: 43.06 kB / 436.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.905e-06/0.3201, allocations: 0 / 436.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004543/0.3246, allocations: 2.399 MB / 439.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3247, allocations: 60.06 kB / 439.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.3258, allocations: 0.7933 MB / 439.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.3259, allocations: 37.7 kB / 439.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/0.3266, allocations: 0.9324 MB / 440.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.3268, allocations: 245.9 kB / 441.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.327, allocations: 150.6 kB / 441.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.3272, allocations: 390.8 kB / 441.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.3278, allocations: 361.8 kB / 442 MB, free: 6.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/0.3286, allocations: 0.5869 MB / 442.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.33, allocations: 0.9795 MB / 443.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.33, allocations: 4 kB / 443.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001994/0.332, allocations: 1.161 MB / 444.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.3321, allocations: 11.94 kB / 444.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.3321, allocations: 4 kB / 444.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.3324, allocations: 112.8 kB / 444.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.3331, allocations: 171.7 kB / 445 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.3356, allocations: 2.234 MB / 447.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.3363, allocations: 35.97 kB / 447.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.3363, allocations: 35.98 kB / 447.3 MB, free: 0.7891 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.001158/0.3375, allocations: 0.6419 MB / 448 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.3377, allocations: 91.38 kB / 448.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.338, allocations: 103.6 kB / 448.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/0.338, allocations: 11.94 kB / 448.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.3381, allocations: 7.984 kB / 448.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3381, allocations: 0 / 448.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004766/0.3428, allocations: 2.633 MB / 450.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3428, allocations: 0 / 450.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.3433, allocations: 115.9 kB / 450.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.3436, allocations: 92.72 kB / 451 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.3436, allocations: 23.98 kB / 451 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.346, allocations: 2.163 MB / 453.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.346, allocations: 0 / 453.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.3483, allocations: 1.423 MB / 454.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.3488, allocations: 147.5 kB / 454.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3489, allocations: 24.27 kB / 454.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.3493, allocations: 47.95 kB / 454.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3494, allocations: 44.41 kB / 454.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.3495, allocations: 27.92 kB / 454.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008095/0.3503, allocations: 0.5536 MB / 455.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 455.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00118/0.3515, allocations: 303.9 kB / 455.8 MB, free: 8.117 MB / 366.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.0002658/0.3517, allocations: 139 kB / 455.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3535, allocations: 0.9755 MB / 456.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3535, allocations: 0 / 456.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009179/0.3544, allocations: 0.5417 MB / 457.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3555, allocations: 228 kB / 457.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/0.3618, allocations: 3.274 MB / 460.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.3635, allocations: 1.684 MB / 462.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.3638, allocations: 63.44 kB / 462.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3638, allocations: 0 / 462.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of Templates: time 0.04165/0.4055, allocations: 28.68 MB / 491.3 MB, free: 4.363 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.137017771136016]