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.001123/0.001123, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001116/0.001116, allocations: 169.3 kB / 25.33 MB, free: 9.465 MB / 18.57 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 0.9434/0.9434, allocations: 158.6 MB / 187.2 MB, free: 2.52 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.507e-05, allocations: 9.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005454/0.005479, allocations: 5.774 MB / 256.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.008058, allocations: 1.683 MB / 258.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.00845, allocations: 51.62 kB / 258.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.008965, allocations: 317.5 kB / 258.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008896/0.009855, allocations: 393.1 kB / 259.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.01034, allocations: 367.3 kB / 259.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.01171, allocations: 2.078 MB / 261.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.01315, allocations: 1.528 MB / 263.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.01438, allocations: 1.614 MB / 264.8 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.01547, allocations: 1.154 MB / 266 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.01573, allocations: 316 kB / 266.3 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.01627, allocations: 459.5 kB / 266.7 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.01677, allocations: 0.7635 MB / 267.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006803/0.01745, allocations: 0.881 MB / 268.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.01921, allocations: 2.095 MB / 270.5 MB, free: 20 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01921, allocations: 4 kB / 270.5 MB, free: 16 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01921, allocations: 0 / 270.5 MB, free: 16 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.01923, allocations: 0 / 270.5 MB, free: 16 kB / 250.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.002862/0.02209, allocations: 2.604 MB / 273.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.02214, allocations: 11.98 kB / 273.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/0.02274, allocations: 439.4 kB / 273.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.02389, allocations: 1.03 MB / 274.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.02399, allocations: 168.9 kB / 274.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.0242, allocations: 224.3 kB / 274.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.02606, allocations: 1.357 MB / 276.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.02609, allocations: 3.938 kB / 276.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.02622, allocations: 92 kB / 276.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-05/0.02629, allocations: 56 kB / 276.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.02753, allocations: 0.694 MB / 277.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006208/0.03374, allocations: 6.112 MB / 283.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.03427, allocations: 437.2 kB / 283.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.0348, allocations: 348.2 kB / 284 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.03484, allocations: 12.5 kB / 284 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.03488, allocations: 45.89 kB / 284.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.374e-06/0.03488, allocations: 4 kB / 284.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002014/0.0369, allocations: 1.446 MB / 285.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.03695, allocations: 64 kB / 285.6 MB, free: 456 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.03763, allocations: 0.7024 MB / 286.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.03767, allocations: 37.7 kB / 286.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000528/0.0382, allocations: 1.009 MB / 287.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.03833, allocations: 241.9 kB / 287.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.03849, allocations: 156.2 kB / 287.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.03872, allocations: 0.5782 MB / 288.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.0389, allocations: 117.9 kB / 288.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.03927, allocations: 440.8 kB / 288.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.03988, allocations: 0.6084 MB / 289.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.03988, allocations: 4 kB / 289.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008823/0.04076, allocations: 0.6763 MB / 290.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.04079, allocations: 8 kB / 290.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.0408, allocations: 8 kB / 290.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.04107, allocations: 75.58 kB / 290.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.04145, allocations: 171.7 kB / 290.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.04296, allocations: 2.34 MB / 292.7 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.04317, allocations: 39.91 kB / 292.8 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.04322, allocations: 32 kB / 292.8 MB, free: 8.77 MB / 282.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.0003226/0.04354, allocations: 212.3 kB / 293 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.04368, allocations: 103.5 kB / 293.1 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.04382, allocations: 91.31 kB / 293.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.04383, allocations: 11.94 kB / 293.2 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.04385, allocations: 4.062 kB / 293.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.04386, allocations: 11.92 kB / 293.2 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.04681, allocations: 1.949 MB / 295.2 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.04681, allocations: 4 kB / 295.2 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.04712, allocations: 107.9 kB / 295.3 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.04731, allocations: 71.73 kB / 295.4 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.04734, allocations: 15.98 kB / 295.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.04891, allocations: 2.293 MB / 297.7 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.04891, allocations: 4.031 kB / 297.7 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.04996, allocations: 0.8156 MB / 298.5 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.05018, allocations: 139.4 kB / 298.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.05024, allocations: 12 kB / 298.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.05051, allocations: 44.02 kB / 298.7 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.05062, allocations: 52.34 kB / 298.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.05066, allocations: 20 kB / 298.7 MB, free: 2.562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000427/0.05109, allocations: 434.9 kB / 299.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05109, allocations: 0 / 299.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008922/0.05198, allocations: 303.9 kB / 299.5 MB, free: 1.848 MB / 282.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.0002593/0.05224, allocations: 135 kB / 299.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.05348, allocations: 0.6519 MB / 300.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.05348, allocations: 0.625 kB / 300.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.05398, allocations: 437.3 kB / 300.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.05479, allocations: 230 kB / 300.9 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1277/0.1825, allocations: 2.89 MB / 303.8 MB, free: 53.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.183, allocations: 0.52 MB / 304.3 MB, free: 53.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004941/0.1834, allocations: 161.9 kB / 304.5 MB, free: 53.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1836, allocations: 59.44 kB / 304.5 MB, free: 53.09 MB / 282.7 MB Notification: Performance of SimCode: time 2.544e-06/0.1836, allocations: 0 / 304.5 MB, free: 53.09 MB / 282.7 MB Notification: Performance of Templates: time 0.01912/0.2027, allocations: 12.26 MB / 316.8 MB, free: 48.48 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/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: 3.1796174398623407]