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.001998/0.001998, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002483/0.002483, allocations: 161.7 kB / 24.27 MB, free: 172 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.621/1.621, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.864e-06/1.864e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.143e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.01066/0.01069, allocations: 4.553 MB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.01563, allocations: 1.737 MB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000581/0.01621, allocations: 16 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004067/0.02027, allocations: 1.143 MB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.02266, allocations: 0.6215 MB / 280.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.02461, allocations: 0.5754 MB / 281 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.02614, allocations: 0.7852 MB / 281.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.02739, allocations: 0.5158 MB / 282.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009372/0.02832, allocations: 470.8 kB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.02899, allocations: 335 kB / 283.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.02913, allocations: 60 kB / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007954/0.02993, allocations: 251.6 kB / 283.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.03015, allocations: 171.3 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004481/0.0306, allocations: 259.3 kB / 283.8 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.03254, allocations: 1.047 MB / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.03255, allocations: 0 / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.03255, allocations: 0 / 284.8 MB, free: 5.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.03256, allocations: 0 / 284.8 MB, free: 5.25 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.006181/0.03874, allocations: 1.316 MB / 286.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.03879, allocations: 12.03 kB / 286.2 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.04972, allocations: 0.9718 MB / 287.1 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.05116, allocations: 360.6 kB / 287.5 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.05129, allocations: 58.38 kB / 287.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/0.05164, allocations: 80.38 kB / 287.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.0548, allocations: 0.8273 MB / 288.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.05485, allocations: 3.938 kB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.05501, allocations: 32 kB / 288.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.05505, allocations: 20 kB / 288.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.05823, allocations: 0.8979 MB / 289.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/0.1675, allocations: 2.227 MB / 291.6 MB, free: 27.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.1692, allocations: 0.7629 MB / 292.4 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.1697, allocations: 293.1 kB / 292.7 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.1698, allocations: 33.33 kB / 292.7 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1698, allocations: 39.69 kB / 292.8 MB, free: 27.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.246e-06/0.1698, allocations: 0.9375 kB / 292.8 MB, free: 27.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003672/0.1735, allocations: 1.291 MB / 294 MB, free: 26.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1735, allocations: 59.94 kB / 294.1 MB, free: 26.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1738, allocations: 251.5 kB / 294.3 MB, free: 26.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.1738, allocations: 36.52 kB / 294.4 MB, free: 26.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.174, allocations: 301.8 kB / 294.7 MB, free: 26.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.1741, allocations: 261.2 kB / 294.9 MB, free: 26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.1743, allocations: 123 kB / 295.1 MB, free: 25.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.1744, allocations: 350.3 kB / 295.4 MB, free: 25.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.1748, allocations: 236.3 kB / 295.6 MB, free: 25.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.1753, allocations: 363.3 kB / 296 MB, free: 25.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009711/0.1763, allocations: 0.6368 MB / 296.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1763, allocations: 1.156 kB / 296.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001788/0.1781, allocations: 0.8908 MB / 297.5 MB, free: 24.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.1781, allocations: 7.141 kB / 297.5 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1781, allocations: 3.281 kB / 297.5 MB, free: 24.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.1793, allocations: 266 kB / 297.8 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.1798, allocations: 133.2 kB / 297.9 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.1826, allocations: 2.571 MB / 300.5 MB, free: 22.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.183, allocations: 61.61 kB / 300.5 MB, free: 22.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.1831, allocations: 28.52 kB / 300.6 MB, free: 22.48 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.0002443/0.1833, allocations: 200.4 kB / 300.8 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1835, allocations: 61.86 kB / 300.8 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.1853, allocations: 0.8952 MB / 301.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1853, allocations: 8.125 kB / 301.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1853, allocations: 7.281 kB / 301.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.1853, allocations: 3.562 kB / 301.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.1877, allocations: 1.473 MB / 303.2 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1877, allocations: 5.312 kB / 303.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.1882, allocations: 109 kB / 303.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.1892, allocations: 259.8 kB / 303.6 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.1892, allocations: 23.36 kB / 303.6 MB, free: 21.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.1918, allocations: 2.559 MB / 306.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1918, allocations: 7.938 kB / 306.2 MB, free: 19.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.1937, allocations: 1.265 MB / 307.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.1938, allocations: 62.25 kB / 307.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.1938, allocations: 15.88 kB / 307.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.1942, allocations: 30.73 kB / 307.5 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1943, allocations: 59.33 kB / 307.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.1943, allocations: 20.47 kB / 307.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1944, allocations: 176.8 kB / 307.8 MB, free: 18.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1944, allocations: 0 / 307.8 MB, free: 18.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00069/0.1951, allocations: 241.8 kB / 308 MB, free: 18.24 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.0002025/0.1953, allocations: 148.2 kB / 308.2 MB, free: 18.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.1966, allocations: 0.8094 MB / 309 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1966, allocations: 192 / 309 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006811/0.1973, allocations: 0.5179 MB / 309.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.1977, allocations: 59.8 kB / 309.6 MB, free: 17.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1991, allocations: 1.137 MB / 310.7 MB, free: 16.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.1993, allocations: 291.9 kB / 311 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.1996, allocations: 72.61 kB / 311 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.1997, allocations: 52.48 kB / 311.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1997, allocations: 0 / 311.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Templates: time 0.01142/0.2111, allocations: 7.368 MB / 318.5 MB, free: 8.457 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] 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: 4.87161135696806]