Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.002381/0.002381, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002784/0.002784, allocations: 169.6 kB / 24.28 MB, free: 152 kB / 18.57 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.638/1.638, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.101e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.01107/0.0111, allocations: 4.945 MB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.01661, allocations: 1.768 MB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006993/0.01731, allocations: 12 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00447/0.02178, allocations: 1.248 MB / 280.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.02454, allocations: 0.6254 MB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.02669, allocations: 0.5791 MB / 281.5 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.02853, allocations: 0.7774 MB / 282.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.02997, allocations: 0.5236 MB / 282.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.03114, allocations: 482.8 kB / 283.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007805/0.03192, allocations: 331 kB / 283.6 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.03208, allocations: 64 kB / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.03289, allocations: 251.6 kB / 283.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.03313, allocations: 171.3 kB / 284.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.03361, allocations: 255.3 kB / 284.3 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.03563, allocations: 1.059 MB / 285.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.03564, allocations: 4 kB / 285.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03564, allocations: 0 / 285.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.03566, allocations: 0 / 285.4 MB, free: 4.734 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.006007/0.04166, allocations: 1.467 MB / 286.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.04171, allocations: 8.031 kB / 286.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009453/0.05116, allocations: 0.9836 MB / 287.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/0.05189, allocations: 359.4 kB / 288.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.05197, allocations: 62.38 kB / 288.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.05212, allocations: 76.38 kB / 288.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.0537, allocations: 0.8 MB / 289.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.05373, allocations: 3.938 kB / 289.1 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.05382, allocations: 35.98 kB / 289.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.05384, allocations: 16 kB / 289.2 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1166/0.1705, allocations: 0.8655 MB / 290 MB, free: 27.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004768/0.1753, allocations: 2.506 MB / 292.5 MB, free: 27.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.1771, allocations: 0.786 MB / 293.3 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.1775, allocations: 289.3 kB / 293.6 MB, free: 26.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.1776, allocations: 33.64 kB / 293.6 MB, free: 26.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1777, allocations: 47.89 kB / 293.7 MB, free: 26.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.725e-06/0.1777, allocations: 0 / 293.7 MB, free: 26.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003642/0.1813, allocations: 1.261 MB / 295 MB, free: 26.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.1813, allocations: 59.06 kB / 295 MB, free: 26.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1816, allocations: 344.8 kB / 295.3 MB, free: 25.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.1817, allocations: 41.2 kB / 295.4 MB, free: 25.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1818, allocations: 352 kB / 295.7 MB, free: 25.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.182, allocations: 275 kB / 296 MB, free: 25.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.1822, allocations: 148.8 kB / 296.1 MB, free: 25.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1823, allocations: 0.5389 MB / 296.7 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.1827, allocations: 221.7 kB / 296.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.1832, allocations: 405.3 kB / 297.3 MB, free: 24.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000981/0.1842, allocations: 0.6721 MB / 298 MB, free: 24.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.1842, allocations: 0 / 298 MB, free: 24.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001851/0.1861, allocations: 0.8895 MB / 298.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1861, allocations: 9.625 kB / 298.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1861, allocations: 3.141 kB / 298.9 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.1873, allocations: 277.4 kB / 299.1 MB, free: 23.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.1878, allocations: 129.1 kB / 299.3 MB, free: 23.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.191, allocations: 3.211 MB / 302.5 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.1914, allocations: 59.97 kB / 302.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.1915, allocations: 26.22 kB / 302.6 MB, free: 21.15 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.1918, allocations: 247.4 kB / 302.8 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1919, allocations: 70.64 kB / 302.9 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.1938, allocations: 0.8745 MB / 303.7 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1938, allocations: 8.812 kB / 303.8 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1938, allocations: 6.312 kB / 303.8 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1938, allocations: 8.266 kB / 303.8 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.1966, allocations: 1.618 MB / 305.4 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1966, allocations: 0.875 kB / 305.4 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.197, allocations: 111.2 kB / 305.5 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000991/0.198, allocations: 276.7 kB / 305.8 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/0.1981, allocations: 18.7 kB / 305.8 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/0.2008, allocations: 3.21 MB / 309 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2008, allocations: 0 / 309 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.2027, allocations: 1.286 MB / 310.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.2028, allocations: 51.52 kB / 310.3 MB, free: 16.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.2028, allocations: 12 kB / 310.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.2032, allocations: 31.5 kB / 310.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.2033, allocations: 60.39 kB / 310.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.2033, allocations: 20 kB / 310.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.2035, allocations: 230.5 kB / 310.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2035, allocations: 0 / 310.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007822/0.2042, allocations: 243.3 kB / 310.9 MB, free: 15.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (63): * Single equations (assignments): 62 * Array equations: 0 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/0.2045, allocations: 152.7 kB / 311.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.2059, allocations: 0.9067 MB / 312 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2059, allocations: 0 / 312 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.2066, allocations: 0.6085 MB / 312.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.2071, allocations: 61.48 kB / 312.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2087, allocations: 1.145 MB / 313.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2089, allocations: 288.6 kB / 314.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.2091, allocations: 75.02 kB / 314.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.2092, allocations: 52.48 kB / 314.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2092, allocations: 0 / 314.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Templates: time 0.01221/0.2214, allocations: 7.492 MB / 321.7 MB, free: 5.047 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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: 5.040608156006783]