Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001326/0.001326, allocations: 107.6 kB / 21.18 MB, free: 452 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.001722/0.001722, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.502/1.502, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.002107/0.002107, allocations: 58.58 kB / 347.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2598, allocations: 49.15 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01387/0.2737, allocations: 14.52 MB / 411.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.2838, allocations: 4.147 MB / 415.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.2867, allocations: 138.7 kB / 415.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01735/0.3041, allocations: 6.946 MB / 422.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.3107, allocations: 1.388 MB / 424 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.3153, allocations: 1.332 MB / 425.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.3285, allocations: 8.628 MB / 434 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02872/0.3573, allocations: 14.31 MB / 448.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007756/0.365, allocations: 5.062 MB / 453.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009392/0.3744, allocations: 5.4 MB / 458.7 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00351/0.3779, allocations: 1.406 MB / 460.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.3824, allocations: 1.656 MB / 461.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003721/0.3861, allocations: 2.716 MB / 464.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008866/0.395, allocations: 4.179 MB / 468.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02802/0.423, allocations: 18.66 MB / 487.3 MB, free: 8.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.423, allocations: 0 / 487.3 MB, free: 8.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.423, allocations: 3.938 kB / 487.3 MB, free: 8.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006434/0.4236, allocations: 0 / 487.3 MB, free: 8.297 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03564/0.4593, allocations: 10.91 MB / 498.3 MB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4593, allocations: 11.98 kB / 498.3 MB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03254/0.4918, allocations: 5.75 MB / 0.4922 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.5058, allocations: 4.911 MB / 0.497 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008911/0.5067, allocations: 0.7025 MB / 0.4977 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003854/0.5106, allocations: 0.9218 MB / 0.4986 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03858/0.5491, allocations: 13.67 MB / 0.5119 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003873/0.5495, allocations: 7.938 kB / 0.5119 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/0.5525, allocations: 388 kB / 0.5123 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005895/0.5531, allocations: 464 kB / 0.5128 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/0.5862, allocations: 12.78 MB / 0.5252 GB, free: 5.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4774/1.064, allocations: 39.27 MB / 0.5636 GB, free: 118.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.074, allocations: 5.308 MB / 0.5688 GB, free: 118.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/1.077, allocations: 1.706 MB / 0.5704 GB, free: 118.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/1.088, allocations: 5.39 MB / 0.5757 GB, free: 118.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.088, allocations: 55.16 kB / 0.5758 GB, free: 118.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.738e-06/1.088, allocations: 0 / 0.5758 GB, free: 118.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007405/1.095, allocations: 4.227 MB / 0.5799 GB, free: 118 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.095, allocations: 80.95 kB / 0.58 GB, free: 117.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/1.099, allocations: 3.474 MB / 0.5833 GB, free: 117.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/1.1, allocations: 57.42 kB / 0.5834 GB, free: 117.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002451/1.102, allocations: 4.354 MB / 0.5877 GB, free: 114.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/1.103, allocations: 0.7289 MB / 0.5884 GB, free: 113.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/1.104, allocations: 1.066 MB / 0.5894 GB, free: 113.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/1.104, allocations: 301.1 kB / 0.5897 GB, free: 113.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/1.106, allocations: 2.039 MB / 0.5917 GB, free: 112.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/1.11, allocations: 4.69 MB / 0.5963 GB, free: 108.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005884/1.115, allocations: 7.093 MB / 0.6032 GB, free: 102.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.5e-05/1.116, allocations: 26.31 kB / 0.6032 GB, free: 102.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009217/1.125, allocations: 7.021 MB / 0.6101 GB, free: 99.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/1.125, allocations: 45.12 kB / 0.6101 GB, free: 99.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.125, allocations: 90.59 kB / 0.6102 GB, free: 99.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/1.126, allocations: 435.3 kB / 0.6106 GB, free: 99.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/1.129, allocations: 1.177 MB / 0.6118 GB, free: 99.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/1.133, allocations: 4.175 MB / 0.6158 GB, free: 96.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/1.136, allocations: 0.7305 MB / 0.6166 GB, free: 95.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/1.136, allocations: 283.9 kB / 0.6168 GB, free: 95.65 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004322/1.141, allocations: 3.491 MB / 0.6202 GB, free: 93.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/1.141, allocations: 299.9 kB / 0.6205 GB, free: 93.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/1.145, allocations: 3.293 MB / 0.6237 GB, free: 90.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002732/1.148, allocations: 2.538 MB / 0.6262 GB, free: 87.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.148, allocations: 7.938 kB / 0.6262 GB, free: 87.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.148, allocations: 8.844 kB / 0.6262 GB, free: 87.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.159, allocations: 7.436 MB / 0.6335 GB, free: 80.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.159, allocations: 7.875 kB / 0.6335 GB, free: 80.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.16, allocations: 351.5 kB / 0.6338 GB, free: 79.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/1.161, allocations: 313.3 kB / 0.6341 GB, free: 79.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.966e-05/1.161, allocations: 47.98 kB / 0.6342 GB, free: 79.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/1.165, allocations: 4.008 MB / 0.6381 GB, free: 75.42 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.165, allocations: 7.938 kB / 0.6381 GB, free: 75.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/1.17, allocations: 4.702 MB / 0.6427 GB, free: 70.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.171, allocations: 0.5326 MB / 0.6432 GB, free: 70.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/1.171, allocations: 39.98 kB / 0.6433 GB, free: 70.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.172, allocations: 131.8 kB / 0.6434 GB, free: 69.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/1.172, allocations: 133.7 kB / 0.6435 GB, free: 69.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.173, allocations: 64.05 kB / 0.6436 GB, free: 69.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002442/1.175, allocations: 2.17 MB / 0.6457 GB, free: 67.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.175, allocations: 0 / 0.6457 GB, free: 67.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005744/1.181, allocations: 2.054 MB / 0.6477 GB, free: 65.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000476/1.181, allocations: 202.5 kB / 0.6479 GB, free: 65.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005994/1.187, allocations: 4.509 MB / 0.6523 GB, free: 60.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.187, allocations: 0 / 0.6523 GB, free: 60.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.189, allocations: 1.486 MB / 0.6537 GB, free: 59.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.192, allocations: 0.6771 MB / 0.6544 GB, free: 58.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/1.21, allocations: 14.06 MB / 0.6681 GB, free: 44.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00461/1.215, allocations: 5.332 MB / 0.6733 GB, free: 39.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003733/1.219, allocations: 1.816 MB / 0.6751 GB, free: 37.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/1.219, allocations: 235.4 kB / 0.6753 GB, free: 37.16 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/1.219, allocations: 0 / 0.6753 GB, free: 37.16 MB / 478.1 MB Notification: Performance of Templates: time 0.07054/1.29, allocations: 44.12 MB / 0.7184 GB, free: 9.008 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 6.975071074441075]