Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 112 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 189.2 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.8 MB, free: 3.707 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 47.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01974/0.1212, allocations: 16.56 MB / 435.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009375/0.1306, allocations: 4.103 MB / 439.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.1337, allocations: 139.6 kB / 439.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2157/0.3494, allocations: 7.484 MB / 447.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.3556, allocations: 1.495 MB / 448.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.3586, allocations: 1.091 MB / 449.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.3686, allocations: 8.249 MB / 458.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02741/0.396, allocations: 17.33 MB / 475.4 MB, free: 316 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009646/0.4057, allocations: 4.824 MB / 480.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.4162, allocations: 5.346 MB / 485.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003685/0.4199, allocations: 1.381 MB / 487 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/0.4253, allocations: 1.65 MB / 488.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00355/0.4288, allocations: 2.58 MB / 491.2 MB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00911/0.4379, allocations: 5.215 MB / 496.4 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0233/0.4612, allocations: 18.43 MB / 0.5028 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4612, allocations: 0 / 0.5028 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4612, allocations: 0 / 0.5028 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004895/0.4617, allocations: 4 kB / 0.5028 GB, free: 0.7031 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02973/0.4914, allocations: 10.62 MB / 0.5131 GB, free: 6.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4915, allocations: 11.89 kB / 0.5132 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/0.5113, allocations: 3.771 MB / 0.5168 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.5232, allocations: 5.366 MB / 0.5221 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007244/0.5239, allocations: 0.6815 MB / 0.5227 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003297/0.5272, allocations: 0.8981 MB / 0.5236 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02996/0.5571, allocations: 12.72 MB / 0.536 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/0.5573, allocations: 7.953 kB / 0.5361 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.5584, allocations: 379.8 kB / 0.5364 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003978/0.5588, allocations: 395.7 kB / 0.5368 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/0.5813, allocations: 11.41 MB / 0.5479 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07503/0.6563, allocations: 43.23 MB / 0.5902 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.6689, allocations: 10.27 MB / 0.6002 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.6715, allocations: 1.527 MB / 0.6017 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.6717, allocations: 138 kB / 0.6018 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.026e-05/0.6718, allocations: 56.56 kB / 0.6019 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=223): time 3.958e-06/0.6718, allocations: 0 / 0.6019 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=223): time 0.009296/0.6811, allocations: 4.66 MB / 0.6064 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.6811, allocations: 81.34 kB / 0.6065 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004393/0.6855, allocations: 2.93 MB / 0.6094 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.6857, allocations: 61.7 kB / 0.6094 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003/0.6887, allocations: 3.986 MB / 0.6133 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008651/0.6895, allocations: 0.8221 MB / 0.6141 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/0.6911, allocations: 0.9566 MB / 0.615 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6912, allocations: 301.1 kB / 0.6153 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/0.6944, allocations: 1.973 MB / 0.6173 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/0.6995, allocations: 4.156 MB / 0.6213 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009058/0.7086, allocations: 6.512 MB / 0.6277 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.644e-05/0.7086, allocations: 20 kB / 0.6277 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01151/0.7202, allocations: 6.512 MB / 0.634 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.7202, allocations: 36 kB / 0.6341 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.7203, allocations: 79.94 kB / 0.6342 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009591/0.7213, allocations: 413.3 kB / 0.6346 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003529/0.7248, allocations: 1.061 MB / 0.6356 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/0.7305, allocations: 4.381 MB / 0.6399 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3476/1.078, allocations: 0.6368 MB / 0.6405 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007796/1.079, allocations: 241 kB / 0.6407 GB, free: 166.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * 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.004588/1.084, allocations: 3.371 MB / 0.644 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/1.084, allocations: 285.3 kB / 0.6443 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005856/1.09, allocations: 3.57 MB / 0.6478 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003894/1.094, allocations: 2.797 MB / 0.6505 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.094, allocations: 4.141 kB / 0.6505 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/1.094, allocations: 12.77 kB / 0.6505 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.111, allocations: 9.855 MB / 0.6601 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.111, allocations: 1.531 kB / 0.6601 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.112, allocations: 413 kB / 0.6605 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007083/1.113, allocations: 315.9 kB / 0.6608 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.113, allocations: 54.2 kB / 0.6609 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/1.117, allocations: 4.201 MB / 0.665 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.117, allocations: 1.938 kB / 0.665 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/1.123, allocations: 5.128 MB / 0.67 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.124, allocations: 0.619 MB / 0.6706 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/1.125, allocations: 39.91 kB / 0.6706 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.126, allocations: 129.1 kB / 0.6708 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.126, allocations: 157.1 kB / 0.6709 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.126, allocations: 63.33 kB / 0.671 GB, free: 156 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002377/1.129, allocations: 1.964 MB / 0.6729 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.129, allocations: 0 / 0.6729 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00457/1.133, allocations: 1.986 MB / 0.6748 GB, free: 154.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (215): * Single equations (assignments): 213 * 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.0004282/1.134, allocations: 225.7 kB / 0.6751 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005749/1.139, allocations: 4.422 MB / 0.6794 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.139, allocations: 3.938 kB / 0.6794 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.141, allocations: 1.613 MB / 0.6809 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.144, allocations: 0.6708 MB / 0.6816 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.164, allocations: 13.18 MB / 0.6945 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004187/1.168, allocations: 5.474 MB / 0.6998 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009237/1.169, allocations: 266.1 kB / 0.7001 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/1.169, allocations: 0 / 0.7001 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1232/1.292, allocations: 132.4 MB / 0.8294 GB, free: 8.422 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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: 13.909263701876625]