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.001895/0.001895, allocations: 120.5 kB / 18.41 MB, free: 4.664 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.002165/0.002165, allocations: 190.7 kB / 21.35 MB, free: 1.734 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.444/1.444, allocations: 222.9 MB / 247 MB, free: 4.195 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.001577/0.001577, allocations: 51.91 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.0984, allocations: 49.44 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01979/0.1182, allocations: 16.49 MB / 424.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009807/0.1281, allocations: 4.091 MB / 428.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.1307, allocations: 139.6 kB / 428.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2033/0.3341, allocations: 7.423 MB / 436.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004929/0.339, allocations: 1.48 MB / 437.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.3422, allocations: 1.096 MB / 438.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.3527, allocations: 8.251 MB / 447.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03544/0.3881, allocations: 22.51 MB / 469.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00838/0.3966, allocations: 4.801 MB / 474.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008978/0.4056, allocations: 5.334 MB / 479.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003423/0.409, allocations: 1.387 MB / 481.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/0.4142, allocations: 1.638 MB / 482.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004306/0.4185, allocations: 2.586 MB / 485.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009656/0.4282, allocations: 5.215 MB / 490.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02231/0.4505, allocations: 18.34 MB / 0.497 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4506, allocations: 0 / 0.497 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4506, allocations: 0 / 0.497 GB, free: 2.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003903/0.451, allocations: 0 / 0.497 GB, free: 2.973 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.03004/0.481, allocations: 10.63 MB / 0.5073 GB, free: 8.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4811, allocations: 11.89 kB / 0.5073 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/0.5013, allocations: 3.778 MB / 0.511 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.512, allocations: 5.371 MB / 0.5163 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006551/0.5127, allocations: 0.6772 MB / 0.5169 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/0.5155, allocations: 0.8946 MB / 0.5178 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.5436, allocations: 12.72 MB / 0.5302 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001986/0.5439, allocations: 7.953 kB / 0.5302 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/0.5453, allocations: 388.4 kB / 0.5306 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004067/0.5457, allocations: 399.1 kB / 0.531 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02356/0.5693, allocations: 11.41 MB / 0.5421 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07006/0.6394, allocations: 43.2 MB / 0.5843 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.6515, allocations: 10.49 MB / 0.5946 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.6543, allocations: 1.683 MB / 0.5962 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.6546, allocations: 139.7 kB / 0.5963 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.6547, allocations: 64.5 kB / 0.5964 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=223): time 3.767e-06/0.6547, allocations: 3.938 kB / 0.5964 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=223): time 0.009293/0.664, allocations: 4.667 MB / 0.601 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.6641, allocations: 81.34 kB / 0.601 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004417/0.6685, allocations: 2.934 MB / 0.6039 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.6687, allocations: 61.7 kB / 0.604 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.3648/1.034, allocations: 3.978 MB / 0.6079 GB, free: 147.8 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008025/1.034, allocations: 0.8225 MB / 0.6087 GB, free: 147.4 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.036, allocations: 0.9518 MB / 0.6096 GB, free: 147.3 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.36e-05/1.036, allocations: 304.6 kB / 0.6099 GB, free: 147 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/1.038, allocations: 1.97 MB / 0.6118 GB, free: 146.9 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/1.042, allocations: 4.162 MB / 0.6159 GB, free: 144.2 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007099/1.049, allocations: 6.504 MB / 0.6222 GB, free: 141.1 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/1.05, allocations: 20.97 kB / 0.6222 GB, free: 141.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01047/1.06, allocations: 6.525 MB / 0.6286 GB, free: 139 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/1.06, allocations: 41.62 kB / 0.6286 GB, free: 139 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/1.06, allocations: 74.66 kB / 0.6287 GB, free: 139 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/1.061, allocations: 409.9 kB / 0.6291 GB, free: 138.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/1.065, allocations: 1.059 MB / 0.6301 GB, free: 138.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/1.069, allocations: 4.384 MB / 0.6344 GB, free: 136 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/1.073, allocations: 0.6323 MB / 0.635 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007185/1.073, allocations: 245.8 kB / 0.6353 GB, free: 135.8 MB / 0.4982 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.004922/1.078, allocations: 3.377 MB / 0.6386 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/1.079, allocations: 283.8 kB / 0.6388 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/1.084, allocations: 3.573 MB / 0.6423 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003676/1.088, allocations: 2.816 MB / 0.6451 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.088, allocations: 3.875 kB / 0.6451 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/1.088, allocations: 11.39 kB / 0.6451 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.104, allocations: 9.866 MB / 0.6547 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.104, allocations: 3.938 kB / 0.6547 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.106, allocations: 408.2 kB / 0.6551 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000686/1.106, allocations: 317.6 kB / 0.6554 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.106, allocations: 53.33 kB / 0.6555 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/1.11, allocations: 4.2 MB / 0.6596 GB, free: 125 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.11, allocations: 3.125 kB / 0.6596 GB, free: 125 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/1.117, allocations: 5.138 MB / 0.6646 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.118, allocations: 0.6165 MB / 0.6652 GB, free: 120.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004737/1.118, allocations: 40 kB / 0.6652 GB, free: 120.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.119, allocations: 135.7 kB / 0.6654 GB, free: 120.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/1.12, allocations: 145.7 kB / 0.6655 GB, free: 120 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.12, allocations: 68.05 kB / 0.6656 GB, free: 119.9 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.002242/1.122, allocations: 1.963 MB / 0.6675 GB, free: 117.9 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.51e-07/1.122, allocations: 0 / 0.6675 GB, free: 117.9 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.004389/1.126, allocations: 1.996 MB / 0.6694 GB, free: 116.2 MB / 0.4982 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.000444/1.127, allocations: 216.3 kB / 0.6696 GB, free: 116 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.005748/1.133, allocations: 4.622 MB / 0.6742 GB, free: 111.4 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/1.133, allocations: 4.875 kB / 0.6742 GB, free: 111.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.135, allocations: 1.738 MB / 0.6759 GB, free: 109.6 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/1.138, allocations: 0.6838 MB / 0.6765 GB, free: 109 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/1.156, allocations: 13.15 MB / 0.6894 GB, free: 95.77 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004121/1.16, allocations: 5.476 MB / 0.6947 GB, free: 90.25 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009407/1.161, allocations: 271.4 kB / 0.695 GB, free: 89.99 MB / 0.4982 GB Notification: Performance of SimCode: time 7.42e-07/1.161, allocations: 0 / 0.695 GB, free: 89.99 MB / 0.4982 GB Notification: Performance of Templates: time 0.3365/1.498, allocations: 132 MB / 0.8239 GB, free: 164.5 MB / 0.5294 GB " [Timeout remaining time 658] 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: 14.065158207900822]