Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009285/0.0009285, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 165.3 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.888/0.888, allocations: 177 MB / 205.2 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.387e-05, allocations: 6.25 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.005982/0.005996, allocations: 4.89 MB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.00936, allocations: 1.834 MB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.009629, allocations: 19.94 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.0118, allocations: 1.252 MB / 281.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.01317, allocations: 0.6098 MB / 282 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.01431, allocations: 0.5944 MB / 282.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00082/0.01513, allocations: 0.7891 MB / 283.4 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007199/0.01585, allocations: 0.5528 MB / 283.9 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.01625, allocations: 482.8 kB / 284.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.01652, allocations: 347.1 kB / 284.7 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.01658, allocations: 64 kB / 284.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.01687, allocations: 243.6 kB / 285 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.01696, allocations: 175.2 kB / 285.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.01712, allocations: 255.3 kB / 285.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.01768, allocations: 0.7277 MB / 286.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.01768, allocations: 0 / 286.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01768, allocations: 3.938 kB / 286.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.01769, allocations: 0 / 286.2 MB, free: 4.371 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.0019/0.01959, allocations: 1.369 MB / 287.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.01962, allocations: 19.97 kB / 287.6 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.02255, allocations: 1.089 MB / 288.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.02284, allocations: 244.8 kB / 288.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.02287, allocations: 58.38 kB / 289 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.02295, allocations: 80.36 kB / 289 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.02344, allocations: 0.5661 MB / 289.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.02346, allocations: 7.922 kB / 289.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.0235, allocations: 32 kB / 289.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.02351, allocations: 20 kB / 289.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.02391, allocations: 373.7 kB / 290 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09346/0.1174, allocations: 1.741 MB / 291.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.1182, allocations: 0.6389 MB / 292.4 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1184, allocations: 142.5 kB / 292.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.1184, allocations: 29.97 kB / 292.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1185, allocations: 43.25 kB / 292.6 MB, free: 19.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.466e-06/0.1185, allocations: 0.5469 kB / 292.6 MB, free: 19.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001449/0.1199, allocations: 0.778 MB / 293.4 MB, free: 19.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.1199, allocations: 59.75 kB / 293.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1201, allocations: 238.7 kB / 293.7 MB, free: 18.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1201, allocations: 36.89 kB / 293.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1202, allocations: 287.4 kB / 294 MB, free: 18.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.239e-05/0.1203, allocations: 263.3 kB / 294.3 MB, free: 18.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1204, allocations: 122.6 kB / 294.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.1204, allocations: 354.1 kB / 294.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1205, allocations: 83.52 kB / 294.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1207, allocations: 219.4 kB / 295 MB, free: 18.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.121, allocations: 363.8 kB / 295.4 MB, free: 17.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.121, allocations: 1.125 kB / 295.4 MB, free: 17.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000603/0.1216, allocations: 0.4894 MB / 295.9 MB, free: 17.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1216, allocations: 6.062 kB / 295.9 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1216, allocations: 4.25 kB / 295.9 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.1221, allocations: 217.3 kB / 296.1 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.1224, allocations: 127.5 kB / 296.2 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.1236, allocations: 1.933 MB / 298.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1238, allocations: 58.81 kB / 298.2 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1238, allocations: 22.83 kB / 298.2 MB, free: 16.53 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.000103/0.124, allocations: 147.1 kB / 298.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.124, allocations: 52.27 kB / 298.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.1247, allocations: 0.5163 MB / 298.9 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1247, allocations: 7.969 kB / 298.9 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1247, allocations: 3.5 kB / 299 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1247, allocations: 8.031 kB / 299 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.1257, allocations: 0.8904 MB / 299.9 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1257, allocations: 0 / 299.9 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.1259, allocations: 108.1 kB / 300 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.1264, allocations: 214.1 kB / 300.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.1264, allocations: 15.78 kB / 300.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.1275, allocations: 1.924 MB / 302.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1275, allocations: 0 / 302.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.1282, allocations: 0.6702 MB / 302.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.1282, allocations: 46.17 kB / 302.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.1283, allocations: 14.75 kB / 302.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1284, allocations: 25.38 kB / 302.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.1285, allocations: 60.8 kB / 302.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1285, allocations: 18.34 kB / 302.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.1286, allocations: 73.41 kB / 303 MB, free: 14.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1286, allocations: 0 / 303 MB, free: 14.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.129, allocations: 245.3 kB / 303.2 MB, free: 14.5 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.0001619/0.1292, allocations: 134.5 kB / 303.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005472/0.1297, allocations: 0.5572 MB / 303.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1297, allocations: 2.062 kB / 303.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.13, allocations: 417.3 kB / 304.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1302, allocations: 65.5 kB / 304.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1313, allocations: 1.016 MB / 305.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.119e-05/0.1314, allocations: 147.2 kB / 305.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1315, allocations: 79.53 kB / 305.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1317, allocations: 125.5 kB / 305.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1317, allocations: 0 / 305.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of Templates: time 0.008619/0.1403, allocations: 8.063 MB / 313.8 MB, free: 8.832 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7032498801127076]