Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001425/0.001425, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 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.001665/0.001665, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.91 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2398, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01977/0.2596, allocations: 16.6 MB / 448.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008953/0.2685, allocations: 4.165 MB / 452.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.2704, allocations: 167.2 kB / 452.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01701/0.2875, allocations: 7.52 MB / 460.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.2923, allocations: 1.353 MB / 461.4 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.2955, allocations: 1.272 MB / 462.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.3062, allocations: 8.304 MB / 471 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0263/0.3325, allocations: 14.36 MB / 485.4 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006802/0.3393, allocations: 4.918 MB / 490.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008281/0.3476, allocations: 5.35 MB / 495.6 MB, free: 6.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.3501, allocations: 1.383 MB / 497 MB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.3534, allocations: 1.675 MB / 498.7 MB, free: 3.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.3558, allocations: 2.588 MB / 0.4895 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006226/0.362, allocations: 5.215 MB / 0.4946 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02012/0.3822, allocations: 18.36 MB / 0.5126 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3822, allocations: 4 kB / 0.5126 GB, free: 9.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3822, allocations: 0 / 0.5126 GB, free: 9.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00044/0.3826, allocations: 0 / 0.5126 GB, free: 9.254 MB / 430.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.03023/0.4128, allocations: 10.55 MB / 0.5229 GB, free: 14.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4129, allocations: 8.031 kB / 0.5229 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02027/0.4332, allocations: 3.722 MB / 0.5265 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.4464, allocations: 5.417 MB / 0.5318 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008028/0.4472, allocations: 0.6824 MB / 0.5325 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003221/0.4505, allocations: 0.8867 MB / 0.5333 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4091/0.8596, allocations: 12.74 MB / 0.5458 GB, free: 84.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.8597, allocations: 5.266 kB / 0.5458 GB, free: 84.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007681/0.8605, allocations: 377.4 kB / 0.5461 GB, free: 84.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/0.8607, allocations: 401.9 kB / 0.5465 GB, free: 84.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.8772, allocations: 11.42 MB / 0.5577 GB, free: 79.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04791/0.9251, allocations: 42.37 MB / 0.5991 GB, free: 37.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006905/0.932, allocations: 4.217 MB / 0.6032 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.9338, allocations: 1.534 MB / 0.6047 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.934, allocations: 79.06 kB / 0.6048 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.9341, allocations: 56.56 kB / 0.6048 GB, free: 32.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.849e-06/0.9341, allocations: 0 / 0.6048 GB, free: 32.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007286/0.9414, allocations: 4.599 MB / 0.6093 GB, free: 27.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.9414, allocations: 81.34 kB / 0.6094 GB, free: 27.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.9453, allocations: 2.93 MB / 0.6122 GB, free: 24.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.9454, allocations: 65.64 kB / 0.6123 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.9471, allocations: 3.98 MB / 0.6162 GB, free: 20.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/0.9476, allocations: 0.8237 MB / 0.617 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.9487, allocations: 0.9722 MB / 0.6179 GB, free: 19.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.9488, allocations: 301.1 kB / 0.6182 GB, free: 18.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.9511, allocations: 1.973 MB / 0.6202 GB, free: 16.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.9541, allocations: 4.169 MB / 0.6242 GB, free: 11.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/0.9596, allocations: 6.505 MB / 0.6306 GB, free: 4.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.863e-05/0.9596, allocations: 27.94 kB / 0.6306 GB, free: 4.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009554/0.9692, allocations: 6.524 MB / 0.637 GB, free: 13.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.9692, allocations: 36 kB / 0.637 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.9694, allocations: 83.94 kB / 0.6371 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009473/0.9703, allocations: 416.7 kB / 0.6375 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.9736, allocations: 1.061 MB / 0.6385 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.9795, allocations: 4.283 MB / 0.6427 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.9824, allocations: 0.6286 MB / 0.6433 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/0.9828, allocations: 256 kB / 0.6436 GB, free: 6.641 MB / 462.1 MB 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.005428/0.9882, allocations: 3.365 MB / 0.6468 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005943/0.9888, allocations: 294.1 kB / 0.6471 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006182/0.995, allocations: 3.561 MB / 0.6506 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004501/0.9995, allocations: 2.811 MB / 0.6534 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.9995, allocations: 4 kB / 0.6534 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.9995, allocations: 19.94 kB / 0.6534 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.018, allocations: 9.916 MB / 0.6631 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.018, allocations: 0 / 0.6631 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.02, allocations: 411.4 kB / 0.6634 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007571/1.021, allocations: 312.7 kB / 0.6637 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/1.021, allocations: 55.97 kB / 0.6638 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00545/1.026, allocations: 4.095 MB / 0.6678 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.026, allocations: 0 / 0.6678 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0079/1.034, allocations: 5.146 MB / 0.6728 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.036, allocations: 0.5638 MB / 0.6734 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/1.036, allocations: 36 kB / 0.6734 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.037, allocations: 135.9 kB / 0.6735 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/1.038, allocations: 157.7 kB / 0.6737 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.038, allocations: 67.92 kB / 0.6738 GB, free: 7.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003312/1.041, allocations: 1.963 MB / 0.6757 GB, free: 5.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.041, allocations: 4 kB / 0.6757 GB, free: 5.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005088/1.046, allocations: 1.984 MB / 0.6776 GB, free: 3.492 MB / 494.1 MB 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.0004531/1.047, allocations: 214.8 kB / 0.6778 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007536/1.054, allocations: 4.44 MB / 0.6822 GB, free: 14.83 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.054, allocations: 4.25 kB / 0.6822 GB, free: 14.82 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/1.057, allocations: 1.613 MB / 0.6837 GB, free: 13.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.06, allocations: 0.6775 MB / 0.6844 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.084, allocations: 13.52 MB / 0.6976 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007331/1.092, allocations: 5.653 MB / 0.7031 GB, free: 9.266 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00421/1.096, allocations: 1.69 MB / 0.7048 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008517/1.097, allocations: 243.4 kB / 0.705 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of SimCode: time 1.152e-06/1.097, allocations: 0 / 0.705 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of Templates: time 0.2778/1.374, allocations: 44.37 MB / 0.7483 GB, free: 178.9 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.969407733995467]