Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001017/0.001017, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001239/0.001239, allocations: 169.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.223e-05, allocations: 2.312 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005227/0.005249, allocations: 5.705 MB / 279.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.008025, allocations: 1.678 MB / 281.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.008767, allocations: 59.62 kB / 281.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.00935, allocations: 317.5 kB / 281.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.01072, allocations: 397.6 kB / 282.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.0113, allocations: 359.5 kB / 282.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.01287, allocations: 2.086 MB / 284.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.01427, allocations: 1.556 MB / 286.3 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.01581, allocations: 1.626 MB / 287.9 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.017, allocations: 1.161 MB / 289.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.01729, allocations: 312 kB / 289.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.01803, allocations: 455.5 kB / 289.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.01842, allocations: 0.7635 MB / 290.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006247/0.01905, allocations: 0.881 MB / 291.5 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.02069, allocations: 2.095 MB / 293.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.02069, allocations: 4 kB / 293.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.02069, allocations: 0 / 293.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.734e-05/0.02072, allocations: 0 / 293.6 MB, free: 0.875 MB / 266.7 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.002676/0.0234, allocations: 2.582 MB / 296.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.02343, allocations: 16.02 kB / 296.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006625/0.0241, allocations: 455.4 kB / 296.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.02549, allocations: 1.095 MB / 297.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.02558, allocations: 168.9 kB / 297.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.02577, allocations: 224.3 kB / 298.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.02719, allocations: 1.208 MB / 299.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.02722, allocations: 0 / 299.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.02733, allocations: 95.94 kB / 299.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.02738, allocations: 59.98 kB / 299.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.02811, allocations: 0.5265 MB / 300 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.03421, allocations: 5.687 MB / 305.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.03459, allocations: 404 kB / 306.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.03496, allocations: 316.3 kB / 306.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.03499, allocations: 8.5 kB / 306.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.03501, allocations: 41.89 kB / 306.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.655e-06/0.03501, allocations: 4 kB / 306.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.001515/0.03653, allocations: 1.143 MB / 307.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.03655, allocations: 60.06 kB / 307.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.03702, allocations: 0.6825 MB / 308.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.03705, allocations: 41.7 kB / 308.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.03745, allocations: 1.017 MB / 309.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.03757, allocations: 238 kB / 309.6 MB, free: 348 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.03771, allocations: 172.1 kB / 309.8 MB, free: 168 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.0379, allocations: 0.5897 MB / 310.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.03801, allocations: 85.92 kB / 310.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.03852, allocations: 412.7 kB / 310.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.03894, allocations: 0.5692 MB / 311.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.03894, allocations: 0 / 311.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006402/0.03958, allocations: 0.6211 MB / 312.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.0396, allocations: 8 kB / 312.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.03961, allocations: 11.94 kB / 312.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.0398, allocations: 76.12 kB / 312.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.04013, allocations: 155.8 kB / 312.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.04131, allocations: 2.29 MB / 314.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.04152, allocations: 28.12 kB / 314.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.04155, allocations: 35.92 kB / 314.7 MB, free: 10.9 MB / 298.7 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.0002463/0.0418, allocations: 196.4 kB / 314.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.04192, allocations: 107.5 kB / 315 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.329e-05/0.04201, allocations: 87.47 kB / 315 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.04203, allocations: 8 kB / 315 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.04203, allocations: 11.88 kB / 315.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.04204, allocations: 3.984 kB / 315.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.04396, allocations: 1.888 MB / 317 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.04397, allocations: 4 kB / 317 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.04418, allocations: 96.05 kB / 317 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.04432, allocations: 67.56 kB / 317.1 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.04434, allocations: 12 kB / 317.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.04566, allocations: 2.263 MB / 319.4 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.04566, allocations: 4 kB / 319.4 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.04635, allocations: 0.7412 MB / 320.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.0465, allocations: 127.4 kB / 320.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.04655, allocations: 20 kB / 320.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.04674, allocations: 27.98 kB / 320.3 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.04681, allocations: 44.42 kB / 320.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.04684, allocations: 15.98 kB / 320.4 MB, free: 4.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.04709, allocations: 402.8 kB / 320.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04709, allocations: 0 / 320.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006553/0.04774, allocations: 304 kB / 321.1 MB, free: 4.262 MB / 298.7 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.0001816/0.04792, allocations: 143 kB / 321.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.04852, allocations: 0.5897 MB / 321.8 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.04852, allocations: 448 / 321.8 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.04886, allocations: 417.3 kB / 322.2 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.04946, allocations: 211 kB / 322.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.05283, allocations: 2.885 MB / 325.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.05319, allocations: 0.5241 MB / 325.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.05343, allocations: 95.06 kB / 325.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.0538, allocations: 282 kB / 326.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.0538, allocations: 4 kB / 326.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01941/0.07321, allocations: 13.38 MB / 339.6 MB, free: 1.832 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9400638439692557]