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.0009469/0.0009469, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009486/0.0009486, allocations: 160.4 kB / 24.99 MB, free: 8.219 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.9488/0.9488, allocations: 177 MB / 205.2 MB, free: 5.582 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.974e-06/1.974e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.659e-05, allocations: 9.266 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.009296/0.009322, allocations: 4.958 MB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.01224, allocations: 1.776 MB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.01248, allocations: 16 kB / 279.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.01499, allocations: 1.248 MB / 281 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.01622, allocations: 0.6176 MB / 281.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.01731, allocations: 0.579 MB / 282.2 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008273/0.01814, allocations: 0.7774 MB / 283 MB, free: 7.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007956/0.01893, allocations: 0.5314 MB / 283.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.0195, allocations: 482.8 kB / 284 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.01991, allocations: 335 kB / 284.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.02, allocations: 64 kB / 284.4 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.02044, allocations: 243.6 kB / 284.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.02056, allocations: 163.3 kB / 284.8 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.02083, allocations: 267.2 kB / 285 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009337/0.02177, allocations: 0.7277 MB / 285.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.02177, allocations: 0 / 285.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.02177, allocations: 0 / 285.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.02178, allocations: 8 kB / 285.8 MB, free: 4.914 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.003091/0.02487, allocations: 1.428 MB / 287.2 MB, free: 3.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.0249, allocations: 11.98 kB / 287.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.02833, allocations: 0.9797 MB / 288.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.02871, allocations: 359.4 kB / 288.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.02876, allocations: 58.38 kB / 288.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-05/0.02885, allocations: 92.31 kB / 288.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.02958, allocations: 0.617 MB / 289.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.02961, allocations: 3.938 kB / 289.3 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.02966, allocations: 36 kB / 289.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.02967, allocations: 20 kB / 289.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.03039, allocations: 0.523 MB / 289.9 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09695/0.1273, allocations: 2.163 MB / 292 MB, free: 27.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.1285, allocations: 0.7647 MB / 292.8 MB, free: 27.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.1287, allocations: 201.3 kB / 293 MB, free: 27.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.753e-05/0.1288, allocations: 34.81 kB / 293 MB, free: 27.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1288, allocations: 46.25 kB / 293.1 MB, free: 27.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.855e-06/0.1288, allocations: 1.188 kB / 293.1 MB, free: 27.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001879/0.1307, allocations: 0.9993 MB / 294.1 MB, free: 27.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.1307, allocations: 63.58 kB / 294.1 MB, free: 27.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1309, allocations: 303.5 kB / 294.4 MB, free: 26.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1309, allocations: 37.73 kB / 294.5 MB, free: 26.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.131, allocations: 349.9 kB / 294.8 MB, free: 26.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/0.1311, allocations: 262.8 kB / 295.1 MB, free: 26.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.1313, allocations: 134.6 kB / 295.2 MB, free: 26.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.1313, allocations: 0.5274 MB / 295.7 MB, free: 25.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1315, allocations: 133.7 kB / 295.9 MB, free: 25.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.1318, allocations: 303.8 kB / 296.2 MB, free: 25.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.1323, allocations: 494.6 kB / 296.6 MB, free: 25.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1323, allocations: 1.125 kB / 296.6 MB, free: 25.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009309/0.1332, allocations: 0.6784 MB / 297.3 MB, free: 25.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1332, allocations: 7.625 kB / 297.3 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1332, allocations: 3.094 kB / 297.3 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.1339, allocations: 237.2 kB / 297.6 MB, free: 25.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1342, allocations: 130.2 kB / 297.7 MB, free: 25.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.1359, allocations: 2.75 MB / 300.4 MB, free: 22.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.1361, allocations: 56.19 kB / 300.5 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.1361, allocations: 26.83 kB / 300.5 MB, free: 22.68 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.0001281/0.1362, allocations: 206.9 kB / 300.7 MB, free: 22.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.1363, allocations: 66.66 kB / 300.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000959/0.1373, allocations: 0.6903 MB / 301.5 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1373, allocations: 8.188 kB / 301.5 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1373, allocations: 3.25 kB / 301.5 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1373, allocations: 8.609 kB / 301.5 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1387, allocations: 1.326 MB / 302.8 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1387, allocations: 0.6094 kB / 302.8 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.1389, allocations: 107 kB / 302.9 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005538/0.1395, allocations: 230.6 kB / 303.2 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.1395, allocations: 19.58 kB / 303.2 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.1411, allocations: 2.747 MB / 305.9 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1411, allocations: 5.125 kB / 305.9 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1421, allocations: 0.9394 MB / 306.9 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1422, allocations: 50.72 kB / 306.9 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1422, allocations: 19.66 kB / 306.9 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1424, allocations: 21.03 kB / 307 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.1425, allocations: 55.75 kB / 307 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.1425, allocations: 26.88 kB / 307 MB, free: 18.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.1426, allocations: 208.2 kB / 307.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1426, allocations: 0 / 307.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004722/0.143, allocations: 235.4 kB / 307.5 MB, free: 18.49 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.0001864/0.1432, allocations: 157.6 kB / 307.6 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007067/0.1439, allocations: 0.723 MB / 308.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1439, allocations: 0 / 308.4 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.1443, allocations: 0.5123 MB / 308.9 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1446, allocations: 63.78 kB / 308.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1459, allocations: 1.062 MB / 310 MB, free: 17.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.1459, allocations: 144.5 kB / 310.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.1461, allocations: 80.47 kB / 310.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.1462, allocations: 51.2 kB / 310.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1462, allocations: 0 / 310.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of Templates: time 0.008096/0.1543, allocations: 7.491 MB / 317.7 MB, free: 9.703 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: 3.0048653779085726]