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.0009382/0.0009382, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005417/0.005417, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 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 0.8435/0.8435, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.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.232e-06/1.232e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.383e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.003798/0.003812, allocations: 4.565 MB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.005496, allocations: 1.737 MB / 332.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.005658, allocations: 12 kB / 332.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.006819, allocations: 1.158 MB / 333.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007262/0.007545, allocations: 0.6208 MB / 333.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.008409, allocations: 0.5699 MB / 334.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.00893, allocations: 0.7819 MB / 335.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.00944, allocations: 0.5274 MB / 335.8 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.009778, allocations: 478.8 kB / 336.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.01002, allocations: 331 kB / 336.6 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.01007, allocations: 64 kB / 336.7 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.01034, allocations: 239.7 kB / 336.9 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.01041, allocations: 167.3 kB / 337.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.01055, allocations: 259.3 kB / 337.3 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.01126, allocations: 1.055 MB / 338.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01126, allocations: 0 / 338.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01126, allocations: 0 / 338.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.01127, allocations: 0 / 338.4 MB, free: 2.84 MB / 298.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.001962/0.01323, allocations: 1.32 MB / 339.7 MB, free: 1.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.01327, allocations: 15.97 kB / 339.7 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.01588, allocations: 0.777 MB / 340.5 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.01626, allocations: 368.3 kB / 340.8 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.0163, allocations: 58.38 kB / 340.9 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.01638, allocations: 80.38 kB / 341 MB, free: 176 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.01746, allocations: 0.8234 MB / 341.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.01748, allocations: 3.938 kB / 341.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.01753, allocations: 32 kB / 341.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01754, allocations: 20 kB / 341.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009346/0.01848, allocations: 0.894 MB / 342.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.0207, allocations: 2.2 MB / 345 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.02173, allocations: 0.7647 MB / 345.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.02204, allocations: 291.1 kB / 346 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.02211, allocations: 24.62 kB / 346 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.02214, allocations: 51.16 kB / 346.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.965e-06/0.02214, allocations: 0 / 346.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.002001/0.02414, allocations: 1.263 MB / 347.3 MB, free: 9.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.02418, allocations: 60.06 kB / 347.4 MB, free: 9.621 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.02436, allocations: 253.8 kB / 347.6 MB, free: 9.363 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.0244, allocations: 45.64 kB / 347.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.02452, allocations: 288.7 kB / 348 MB, free: 9.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.02465, allocations: 273.7 kB / 348.2 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.02478, allocations: 126.6 kB / 348.4 MB, free: 8.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004212/0.0252, allocations: 346.8 kB / 348.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.02548, allocations: 233.9 kB / 348.9 MB, free: 8.051 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.02584, allocations: 366.5 kB / 349.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.02652, allocations: 0.6259 MB / 349.9 MB, free: 6.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02652, allocations: 0 / 349.9 MB, free: 6.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00102/0.02754, allocations: 0.8647 MB / 350.8 MB, free: 6.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.02756, allocations: 8 kB / 350.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.02757, allocations: 3.984 kB / 350.8 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.02803, allocations: 204.8 kB / 351 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.0283, allocations: 135.8 kB / 351.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.03038, allocations: 2.541 MB / 353.7 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.03057, allocations: 67.55 kB / 353.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.0306, allocations: 31.92 kB / 353.8 MB, free: 3.027 MB / 314.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.0001944/0.03079, allocations: 201.7 kB / 354 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.03085, allocations: 43.7 kB / 354 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.03194, allocations: 0.8819 MB / 354.9 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.03194, allocations: 8 kB / 354.9 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.03195, allocations: 4 kB / 354.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.03195, allocations: 3.984 kB / 354.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.03385, allocations: 1.485 MB / 356.4 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.03385, allocations: 3.938 kB / 356.4 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.03409, allocations: 115.8 kB / 356.5 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003716/0.03446, allocations: 204.6 kB / 356.7 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.03449, allocations: 19.98 kB / 356.7 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.03646, allocations: 2.535 MB / 359.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03646, allocations: 0 / 359.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.03783, allocations: 1.254 MB / 360.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.03787, allocations: 55.55 kB / 360.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.0379, allocations: 12 kB / 360.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.03806, allocations: 31.98 kB / 360.6 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.03816, allocations: 60.61 kB / 360.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.03818, allocations: 23.98 kB / 360.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.0383, allocations: 173.2 kB / 360.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0383, allocations: 0 / 360.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.03878, allocations: 239.5 kB / 361.1 MB, free: 11.52 MB / 330.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.0002372/0.03902, allocations: 151 kB / 361.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.04004, allocations: 0.8047 MB / 362 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.04004, allocations: 0 / 362 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.04053, allocations: 0.5144 MB / 362.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.04083, allocations: 59.08 kB / 362.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.0424, allocations: 1.145 MB / 363.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.04257, allocations: 294.7 kB / 364 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.04269, allocations: 60.47 kB / 364.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.04269, allocations: 0 / 364.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of Templates: time 0.008262/0.05095, allocations: 10.33 MB / 374.4 MB, free: 14.06 MB / 346.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.6412974409759045]