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.00146/0.00146, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001639/0.001639, allocations: 166.3 kB / 25.02 MB, free: 8.945 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 1.43/1.43, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.827e-05, allocations: 5.406 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.008002/0.00803, allocations: 5.304 MB / 255.7 MB, free: 2.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.01204, allocations: 1.644 MB / 257.3 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.01248, allocations: 51.62 kB / 257.4 MB, free: 0.793 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.01313, allocations: 325.4 kB / 257.7 MB, free: 484 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.01435, allocations: 389.1 kB / 258.1 MB, free: 92 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.01515, allocations: 367.4 kB / 258.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.01759, allocations: 2.078 MB / 260.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.01982, allocations: 1.524 MB / 262 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.02228, allocations: 1.587 MB / 263.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.02397, allocations: 1.013 MB / 264.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.02442, allocations: 308 kB / 264.9 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.02527, allocations: 459.6 kB / 265.4 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007719/0.02604, allocations: 0.7479 MB / 266.1 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.02718, allocations: 0.8693 MB / 267 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.03192, allocations: 3.841 MB / 270.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.03192, allocations: 0 / 270.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03193, allocations: 0 / 270.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.983e-05/0.032, allocations: 0 / 270.8 MB, free: 3.227 MB / 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.005044/0.03704, allocations: 2.415 MB / 273.2 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.03708, allocations: 11.98 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009559/0.03804, allocations: 447.4 kB / 273.7 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.0403, allocations: 1.153 MB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.04048, allocations: 168.9 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003652/0.04085, allocations: 216.4 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005261/0.04611, allocations: 2.621 MB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.04615, allocations: 0 / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.04636, allocations: 91.98 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-05/0.04644, allocations: 56 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003951/0.05039, allocations: 2.137 MB / 280.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.06298, allocations: 6.594 MB / 286.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.06414, allocations: 0.6781 MB / 287.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.06536, allocations: 0.6066 MB / 288 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.0654, allocations: 12.5 kB / 288 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.06544, allocations: 43.06 kB / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.494e-06/0.06545, allocations: 0 / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.004785/0.07023, allocations: 2.403 MB / 290.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.07028, allocations: 60.06 kB / 290.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.07145, allocations: 0.7814 MB / 291.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.07151, allocations: 33.7 kB / 291.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000951/0.07246, allocations: 0.9518 MB / 292.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.07267, allocations: 226 kB / 292.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.07294, allocations: 146.6 kB / 292.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.07321, allocations: 394.8 kB / 293 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006382/0.07385, allocations: 361.8 kB / 293.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.07472, allocations: 0.5829 MB / 294 MB, free: 11.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.07628, allocations: 0.9872 MB / 295 MB, free: 10.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.07629, allocations: 4 kB / 295 MB, free: 10.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002204/0.0785, allocations: 1.193 MB / 296.1 MB, free: 9.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.07852, allocations: 12.09 kB / 296.2 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.07854, allocations: 8 kB / 296.2 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.07892, allocations: 116.7 kB / 296.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.07968, allocations: 171.7 kB / 296.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.08253, allocations: 2.191 MB / 298.6 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.08319, allocations: 39.97 kB / 298.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.08326, allocations: 28 kB / 298.7 MB, free: 6.555 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.00118/0.08444, allocations: 0.6497 MB / 299.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.08465, allocations: 103.5 kB / 299.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.08488, allocations: 103.2 kB / 299.6 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/0.08492, allocations: 11.94 kB / 299.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.08493, allocations: 7.938 kB / 299.6 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.08494, allocations: 3.984 kB / 299.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.08986, allocations: 2.232 MB / 301.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.08986, allocations: 160 / 301.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.09036, allocations: 119.8 kB / 301.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.0907, allocations: 96.78 kB / 302 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.09075, allocations: 12 kB / 302 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.09332, allocations: 2.137 MB / 304.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.09333, allocations: 0 / 304.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.09581, allocations: 1.447 MB / 305.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.09617, allocations: 151.4 kB / 305.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.09628, allocations: 12 kB / 305.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.09689, allocations: 43.94 kB / 305.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.09705, allocations: 52.41 kB / 305.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.09711, allocations: 24 kB / 305.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009168/0.09802, allocations: 0.538 MB / 306.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09802, allocations: 0 / 306.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001228/0.09925, allocations: 300 kB / 306.7 MB, free: 14.32 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.0003364/0.09959, allocations: 131 kB / 306.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1016, allocations: 0.9756 MB / 307.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1016, allocations: 0 / 307.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1027, allocations: 0.5482 MB / 308.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.1039, allocations: 219 kB / 308.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.1109, allocations: 3.275 MB / 311.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.1127, allocations: 1.136 MB / 313 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005931/0.1133, allocations: 198.9 kB / 313.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.1135, allocations: 64.48 kB / 313.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1135, allocations: 0 / 313.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of Templates: time 0.02783/0.1414, allocations: 12.28 MB / 325.5 MB, free: 11.4 MB / 314.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 4.642143139964901]