Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001012/0.001012, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001357/0.001357, allocations: 165 kB / 24.91 MB, free: 9.18 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.8592/0.8592, 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.245e-05, allocations: 2.312 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00424/0.004252, allocations: 3.614 MB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.006332, allocations: 1.479 MB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.006488, allocations: 8 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.00774, allocations: 0.7931 MB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007176/0.008457, allocations: 397.8 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.009243, allocations: 0.5292 MB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.009672, allocations: 469.7 kB / 280.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.01016, allocations: 384 kB / 281 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.01051, allocations: 311.2 kB / 281.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.01076, allocations: 215.4 kB / 281.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.01082, allocations: 40 kB / 281.6 MB, free: 9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.01115, allocations: 207.7 kB / 281.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.01123, allocations: 103.6 kB / 281.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.01138, allocations: 159.6 kB / 282 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.01196, allocations: 0.5059 MB / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01196, allocations: 0 / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01196, allocations: 0 / 282.5 MB, free: 8.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.01197, allocations: 0 / 282.5 MB, free: 8.031 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001561/0.01353, allocations: 0.851 MB / 283.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.01356, allocations: 11.98 kB / 283.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.01646, allocations: 0.6446 MB / 284 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.01672, allocations: 181.2 kB / 284.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.01676, allocations: 49.62 kB / 284.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.01683, allocations: 56.31 kB / 284.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.01733, allocations: 389.3 kB / 284.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.01734, allocations: 192 / 284.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.01739, allocations: 24.12 kB / 284.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.0174, allocations: 16 kB / 284.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.01778, allocations: 230.2 kB / 285 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.01962, allocations: 1.182 MB / 286.2 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.02059, allocations: 0.5073 MB / 286.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.02071, allocations: 90.33 kB / 286.8 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.72e-05/0.02078, allocations: 32.47 kB / 286.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.0208, allocations: 43 kB / 286.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.984e-06/0.02081, allocations: 0 / 286.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009521/0.02176, allocations: 422.5 kB / 287.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.02179, allocations: 63.91 kB / 287.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.0219, allocations: 166.4 kB / 287.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.02193, allocations: 33.7 kB / 287.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.02203, allocations: 221 kB / 287.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.02213, allocations: 174.5 kB / 287.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.02224, allocations: 82.14 kB / 288 MB, free: 2.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.02233, allocations: 338.8 kB / 288.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.02243, allocations: 52.97 kB / 288.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.02256, allocations: 128.3 kB / 288.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.02284, allocations: 240.6 kB / 288.7 MB, free: 1.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02284, allocations: 0 / 288.7 MB, free: 1.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004685/0.02331, allocations: 307 kB / 289 MB, free: 1.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.02333, allocations: 11.12 kB / 289 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.02333, allocations: 0 / 289 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.02362, allocations: 88.92 kB / 289.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.02388, allocations: 87.89 kB / 289.2 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0906/0.1145, allocations: 1.58 MB / 290.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.1147, allocations: 46.45 kB / 290.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1147, allocations: 14.31 kB / 290.8 MB, free: 19.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1148, allocations: 139.3 kB / 291 MB, free: 19.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.1148, allocations: 30.53 kB / 291 MB, free: 19.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.1153, allocations: 316.1 kB / 291.3 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1153, allocations: 5 kB / 291.3 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1153, allocations: 5.891 kB / 291.3 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1153, allocations: 3.812 kB / 291.3 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.1159, allocations: 0.6048 MB / 291.9 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1159, allocations: 2.188 kB / 291.9 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1161, allocations: 71.53 kB / 292 MB, free: 19.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.1163, allocations: 85.59 kB / 292.1 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1163, allocations: 9.359 kB / 292.1 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000672/0.1169, allocations: 1.588 MB / 293.7 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1169, allocations: 0.5469 kB / 293.7 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.1173, allocations: 459 kB / 294.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.1174, allocations: 30.31 kB / 294.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1174, allocations: 11.14 kB / 294.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.1175, allocations: 16.41 kB / 294.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.1175, allocations: 38 kB / 294.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1175, allocations: 7.562 kB / 294.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.1176, allocations: 37.59 kB / 294.3 MB, free: 18.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1176, allocations: 1.125 kB / 294.3 MB, free: 18.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.118, allocations: 156.5 kB / 294.4 MB, free: 18.04 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 (42): * Single equations (assignments): 41 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.1181, allocations: 131.6 kB / 294.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.1185, allocations: 392.1 kB / 294.9 MB, free: 17.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1185, allocations: 2.656 kB / 294.9 MB, free: 17.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.1187, allocations: 290.4 kB / 295.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.1189, allocations: 33.02 kB / 295.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.1198, allocations: 0.7113 MB / 296 MB, free: 17.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.952e-05/0.1198, allocations: 110.8 kB / 296.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.1199, allocations: 49.34 kB / 296.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.12, allocations: 95.73 kB / 296.2 MB, free: 17.22 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.12, allocations: 0 / 296.2 MB, free: 17.22 MB / 266.7 MB Notification: Performance of Templates: time 0.006603/0.1266, allocations: 4.722 MB / 300.9 MB, free: 16.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.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.400573681574315]