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.00115/0.00115, allocations: 79.73 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.001297/0.001297, allocations: 166.2 kB / 25.32 MB, free: 9.473 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.9686/0.9686, allocations: 158.6 MB / 187.2 MB, free: 2.551 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 2.525e-06/2.525e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.781e-05, allocations: 6.25 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007979/0.008017, allocations: 5.778 MB / 256.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.01123, allocations: 1.683 MB / 258.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/0.0119, allocations: 47.69 kB / 258.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.01244, allocations: 321.4 kB / 258.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.01354, allocations: 393.1 kB / 259.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.01417, allocations: 371.3 kB / 259.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.01584, allocations: 2.074 MB / 261.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.01733, allocations: 1.528 MB / 263.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.01884, allocations: 1.614 MB / 264.8 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.02024, allocations: 1.158 MB / 266 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000529/0.02076, allocations: 308 kB / 266.3 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.02135, allocations: 463.5 kB / 266.7 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.02177, allocations: 0.7635 MB / 267.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.02287, allocations: 0.881 MB / 268.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.02488, allocations: 2.083 MB / 270.5 MB, free: 32 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.02489, allocations: 4 kB / 270.5 MB, free: 28 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02489, allocations: 0 / 270.5 MB, free: 28 kB / 250.7 MB Notification: Performance of Transformations before backend: time 7.121e-05/0.02496, allocations: 0 / 270.5 MB, free: 28 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.003429/0.02839, allocations: 2.604 MB / 273.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.02843, allocations: 11.98 kB / 273.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.02908, allocations: 435.4 kB / 273.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.0302, allocations: 1.006 MB / 274.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-05/0.0303, allocations: 164.9 kB / 274.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.03048, allocations: 224.3 kB / 274.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.03252, allocations: 1.353 MB / 276.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.03255, allocations: 7.938 kB / 276.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.03267, allocations: 91.98 kB / 276.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.03273, allocations: 59.98 kB / 276.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.034, allocations: 0.6862 MB / 277.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007351/0.04135, allocations: 6.115 MB / 283.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.04188, allocations: 445.1 kB / 283.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.04237, allocations: 348.3 kB / 284 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.04241, allocations: 8.5 kB / 284 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.04244, allocations: 41.89 kB / 284 MB, free: 2.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.116e-06/0.04245, allocations: 0 / 284 MB, free: 2.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002295/0.04474, allocations: 1.446 MB / 285.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.04478, allocations: 64 kB / 285.5 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.0454, allocations: 0.7023 MB / 286.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.04544, allocations: 37.7 kB / 286.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.04592, allocations: 1.013 MB / 287.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.04607, allocations: 234 kB / 287.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.04623, allocations: 168.2 kB / 287.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.04642, allocations: 0.5821 MB / 288.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.0466, allocations: 113.9 kB / 288.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.04692, allocations: 444.8 kB / 288.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.04748, allocations: 0.6045 MB / 289.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.04749, allocations: 0 / 289.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008613/0.04835, allocations: 0.6761 MB / 290.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.04838, allocations: 10.97 kB / 290.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.0484, allocations: 8 kB / 290.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.04864, allocations: 75.84 kB / 290.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.04903, allocations: 175.7 kB / 290.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.05054, allocations: 2.34 MB / 292.7 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.05082, allocations: 43.91 kB / 292.7 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.05086, allocations: 32 kB / 292.8 MB, free: 8.809 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.0003158/0.05118, allocations: 204.3 kB / 293 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.0513, allocations: 103.5 kB / 293.1 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.968e-05/0.05139, allocations: 91.3 kB / 293.2 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.05141, allocations: 8 kB / 293.2 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.05142, allocations: 8.031 kB / 293.2 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.05142, allocations: 7.922 kB / 293.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.05378, allocations: 1.956 MB / 295.1 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.05378, allocations: 0 / 295.1 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.05402, allocations: 103.9 kB / 295.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.05419, allocations: 75.72 kB / 295.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.05422, allocations: 16 kB / 295.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.05538, allocations: 2.293 MB / 297.6 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.05538, allocations: 8.031 kB / 297.6 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.05621, allocations: 0.8078 MB / 298.4 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.05637, allocations: 135.4 kB / 298.6 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.05642, allocations: 19.98 kB / 298.6 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.05662, allocations: 39.95 kB / 298.6 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.05671, allocations: 60.36 kB / 298.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.05673, allocations: 20 kB / 298.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003298/0.05706, allocations: 435 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05706, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007143/0.05778, allocations: 295.9 kB / 299.4 MB, free: 1.898 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.000224/0.058, allocations: 147 kB / 299.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.05882, allocations: 0.647 MB / 300.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.05882, allocations: 0 / 300.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.05922, allocations: 435 kB / 300.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.05983, allocations: 223.4 kB / 300.9 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/0.1657, allocations: 2.897 MB / 303.8 MB, free: 53.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.1661, allocations: 0.5162 MB / 304.3 MB, free: 53.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004793/0.1666, allocations: 159.2 kB / 304.4 MB, free: 53.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1668, allocations: 63.42 kB / 304.5 MB, free: 53.13 MB / 282.7 MB Notification: Performance of SimCode: time 1.803e-06/0.1668, allocations: 0 / 304.5 MB, free: 53.13 MB / 282.7 MB Notification: Performance of Templates: time 0.01935/0.1861, allocations: 12.95 MB / 317.4 MB, free: 47.86 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.1902303309179842]