Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001306/0.001306, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009332/0.0009332, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9308/0.9308, allocations: 177.1 MB / 205 MB, free: 5.613 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.606e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004265/0.004281, allocations: 3.681 MB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.006942, allocations: 1.44 MB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.007133, allocations: 8 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.008747, allocations: 0.7932 MB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008801/0.009627, allocations: 397.8 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.01049, allocations: 0.525 MB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.01098, allocations: 477.7 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005576/0.01153, allocations: 354 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.01197, allocations: 307.2 kB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.01225, allocations: 207.4 kB / 281.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.01232, allocations: 44 kB / 281.2 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.01271, allocations: 199.7 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.01279, allocations: 107.6 kB / 281.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.01294, allocations: 163.6 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007023/0.01365, allocations: 0.5059 MB / 282.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01365, allocations: 0 / 282.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01365, allocations: 4 kB / 282.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.01366, allocations: 0 / 282.1 MB, free: 8.336 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.001761/0.01542, allocations: 0.9406 MB / 283.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01546, allocations: 8.031 kB / 283.1 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.01812, allocations: 0.5858 MB / 283.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.01849, allocations: 255.9 kB / 283.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.01853, allocations: 41.67 kB / 284 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.01862, allocations: 52.38 kB / 284 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.01936, allocations: 421.3 kB / 284.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.01938, allocations: 8.188 kB / 284.4 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.01943, allocations: 24.12 kB / 284.5 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.01945, allocations: 16 kB / 284.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006706/0.02012, allocations: 335.6 kB / 284.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.02232, allocations: 1.504 MB / 286.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.02356, allocations: 0.5915 MB / 286.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.02377, allocations: 129.1 kB / 287 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.02385, allocations: 24.48 kB / 287 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.02388, allocations: 41.88 kB / 287.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.02389, allocations: 0 / 287.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001186/0.02507, allocations: 0.5626 MB / 287.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.0251, allocations: 55.91 kB / 287.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.02522, allocations: 224.4 kB / 287.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.02525, allocations: 33.7 kB / 288 MB, free: 2.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.02535, allocations: 279.7 kB / 288.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.02543, allocations: 166.6 kB / 288.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.02552, allocations: 91.8 kB / 288.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.02565, allocations: 0.5079 MB / 289 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.02582, allocations: 88.94 kB / 289.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.02599, allocations: 182.9 kB / 289.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.0263, allocations: 307.3 kB / 289.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.0263, allocations: 0 / 289.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005218/0.02682, allocations: 432.7 kB / 290 MB, free: 176 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.02684, allocations: 5.875 kB / 290 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.02685, allocations: 4.219 kB / 290 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.02713, allocations: 99.55 kB / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1073/0.1344, allocations: 85.5 kB / 290.2 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.1359, allocations: 2.324 MB / 292.5 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1361, allocations: 40.7 kB / 292.5 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.1361, allocations: 19.02 kB / 292.6 MB, free: 19.33 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.0001458/0.1363, allocations: 179 kB / 292.7 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.1364, allocations: 40.89 kB / 292.8 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/0.137, allocations: 435.9 kB / 293.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.137, allocations: 4.25 kB / 293.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.137, allocations: 6.375 kB / 293.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.137, allocations: 2.438 kB / 293.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.138, allocations: 0.8976 MB / 294.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.138, allocations: 0.5469 kB / 294.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.1382, allocations: 73.23 kB / 294.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.1384, allocations: 98.72 kB / 294.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1385, allocations: 11.12 kB / 294.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.1395, allocations: 2.325 MB / 296.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1395, allocations: 0.75 kB / 296.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.1402, allocations: 0.6331 MB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.1403, allocations: 28.53 kB / 297.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.1403, allocations: 10.55 kB / 297.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1404, allocations: 19.55 kB / 297.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.1405, allocations: 36.19 kB / 297.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1405, allocations: 19.47 kB / 297.4 MB, free: 16.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.301e-05/0.1406, allocations: 154.9 kB / 297.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1406, allocations: 0 / 297.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004682/0.1411, allocations: 152.4 kB / 297.7 MB, free: 16.43 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.000213/0.1413, allocations: 143.7 kB / 297.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006619/0.1419, allocations: 0.5076 MB / 298.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1419, allocations: 0 / 298.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1422, allocations: 378.2 kB / 298.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.1425, allocations: 39.17 kB / 298.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1437, allocations: 0.7359 MB / 299.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.1438, allocations: 110.9 kB / 299.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.1439, allocations: 45.39 kB / 299.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.144, allocations: 34.86 kB / 299.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of SimCode: time 1.293e-06/0.144, allocations: 4 kB / 299.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.008628/0.1526, allocations: 4.757 MB / 304.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.731813137885183]