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.001062/0.001062, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002666, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001126/0.001126, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002714, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9492/0.9492, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07865/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.352e-06/1.352e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.676e-06/1.003e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.003851/0.003861, allocations: 4.966 MB / 249.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.006207, allocations: 1.849 MB / 251.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.006425, allocations: 16 kB / 251.5 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.007663, allocations: 1.24 MB / 252.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008433/0.008506, allocations: 0.6175 MB / 253.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.009156, allocations: 0.5822 MB / 254 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.009742, allocations: 0.7852 MB / 254.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.01023, allocations: 0.5101 MB / 255.3 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/0.01067, allocations: 0.4994 MB / 255.8 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.01097, allocations: 347 kB / 256.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.01103, allocations: 60 kB / 256.2 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.01138, allocations: 255.6 kB / 256.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.01145, allocations: 115.6 kB / 256.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.01159, allocations: 207.6 kB / 256.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.01221, allocations: 0.6654 MB / 257.4 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.01222, allocations: 3.938 kB / 257.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01222, allocations: 0 / 257.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.01223, allocations: 0 / 257.4 MB, free: 1.469 MB / 250.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.002174/0.0144, allocations: 1.604 MB / 259 MB, free: 15.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.01443, allocations: 12.03 kB / 259 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.01739, allocations: 1.097 MB / 260.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.01767, allocations: 236.8 kB / 260.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.0177, allocations: 58.38 kB / 260.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.01777, allocations: 80.33 kB / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.01827, allocations: 0.5623 MB / 261 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.01829, allocations: 11.88 kB / 261.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.01833, allocations: 32 kB / 261.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01834, allocations: 20 kB / 261.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.01873, allocations: 373.7 kB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.02072, allocations: 1.756 MB / 263.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.02146, allocations: 0.6398 MB / 263.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.0216, allocations: 143.2 kB / 264 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.817e-05/0.02167, allocations: 36.62 kB / 264 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.02169, allocations: 39.22 kB / 264.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 1.894e-06/0.02169, allocations: 3.938 kB / 264.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001277/0.02297, allocations: 0.7792 MB / 264.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.023, allocations: 60.06 kB / 264.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.02312, allocations: 232.9 kB / 265.2 MB, free: 9.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.02315, allocations: 37.7 kB / 265.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.02324, allocations: 284.6 kB / 265.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.02336, allocations: 269.7 kB / 265.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.02346, allocations: 118.6 kB / 265.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.02354, allocations: 350.7 kB / 266.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.02364, allocations: 89.89 kB / 266.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.02379, allocations: 214.5 kB / 266.5 MB, free: 8.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.02408, allocations: 372.1 kB / 266.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02408, allocations: 0 / 266.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000539/0.02462, allocations: 497.7 kB / 267.3 MB, free: 7.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.02464, allocations: 8.062 kB / 267.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02464, allocations: 4 kB / 267.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/0.02513, allocations: 226.9 kB / 267.6 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.02541, allocations: 151.7 kB / 267.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.02705, allocations: 1.935 MB / 269.7 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.02721, allocations: 59.58 kB / 269.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.02723, allocations: 23.98 kB / 269.7 MB, free: 4.703 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.0001203/0.02736, allocations: 149.7 kB / 269.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.02741, allocations: 51.91 kB / 269.9 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.02802, allocations: 0.5224 MB / 270.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.02802, allocations: 8 kB / 270.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.02803, allocations: 4 kB / 270.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.02803, allocations: 3.984 kB / 270.5 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.02895, allocations: 0.8878 MB / 271.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.02895, allocations: 0 / 271.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.0292, allocations: 131.8 kB / 271.5 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.02924, allocations: 47.53 kB / 271.5 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.02968, allocations: 231.7 kB / 271.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.02971, allocations: 19.94 kB / 271.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.03101, allocations: 1.902 MB / 273.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03101, allocations: 0 / 273.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1019/0.1329, allocations: 0.6706 MB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.133, allocations: 17.69 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.1332, allocations: 20.88 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.1333, allocations: 62.89 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1333, allocations: 15.42 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.793e-05/0.1334, allocations: 80.12 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1334, allocations: 0 / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.134, allocations: 238.3 kB / 274.8 MB, free: 15.6 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.0002055/0.1342, allocations: 132.8 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006872/0.1349, allocations: 0.5575 MB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/0.1349, allocations: 11.28 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.1353, allocations: 455.8 kB / 275.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1356, allocations: 383.6 kB / 276.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.1408, allocations: 1.059 MB / 277.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.1409, allocations: 150 kB / 277.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.1411, allocations: 72.7 kB / 277.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.1413, allocations: 130.9 kB / 277.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1413, allocations: 0 / 277.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01173/0.153, allocations: 8.181 MB / 285.9 MB, free: 13.4 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8703421810641885]