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.001309/0.001309, 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.0009984/0.0009984, allocations: 164.2 kB / 24.91 MB, free: 8.758 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.941/0.941, allocations: 177 MB / 205.2 MB, free: 5.051 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.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/1.109e-05, allocations: 6.25 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.009007/0.009018, allocations: 3.657 MB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.01212, allocations: 1.479 MB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.01227, allocations: 12 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.01339, allocations: 0.7931 MB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.01904, allocations: 381.8 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.01973, allocations: 0.5214 MB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.02012, allocations: 481.7 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.02054, allocations: 375.9 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.02086, allocations: 303.2 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.02109, allocations: 215.4 kB / 281.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.02114, allocations: 40 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.02146, allocations: 215.8 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.02153, allocations: 111.5 kB / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.02166, allocations: 159.6 kB / 282.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.02218, allocations: 0.5098 MB / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.02219, allocations: 0 / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.02219, allocations: 0 / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.02219, allocations: 0 / 282.6 MB, free: 7.797 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.001451/0.02364, allocations: 0.8471 MB / 283.5 MB, free: 6.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.02367, allocations: 11.98 kB / 283.5 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.02642, allocations: 0.6485 MB / 284.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.02677, allocations: 185.1 kB / 284.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.02681, allocations: 41.69 kB / 284.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.0269, allocations: 56.31 kB / 284.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.02754, allocations: 389.3 kB / 284.8 MB, free: 5.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.02756, allocations: 192 / 284.8 MB, free: 5.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.0276, allocations: 24.12 kB / 284.8 MB, free: 5.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.02762, allocations: 16 kB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.02804, allocations: 234.2 kB / 285 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.02995, allocations: 1.179 MB / 286.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.03074, allocations: 0.5034 MB / 286.7 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.03083, allocations: 90.27 kB / 286.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.03088, allocations: 40.41 kB / 286.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.03091, allocations: 42.98 kB / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.844e-06/0.03091, allocations: 0 / 286.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006759/0.03159, allocations: 426.6 kB / 287.3 MB, free: 2.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.03161, allocations: 55.91 kB / 287.4 MB, free: 2.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.03169, allocations: 166.4 kB / 287.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.03172, allocations: 37.7 kB / 287.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.03179, allocations: 224.9 kB / 287.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.03186, allocations: 170.5 kB / 288 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.03194, allocations: 82.14 kB / 288 MB, free: 2.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.03202, allocations: 338.8 kB / 288.4 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.03207, allocations: 52.97 kB / 288.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.03217, allocations: 132.3 kB / 288.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.03236, allocations: 236.6 kB / 288.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.03236, allocations: 0 / 288.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003069/0.03267, allocations: 311 kB / 289.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.03268, allocations: 8 kB / 289.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.03269, allocations: 3.938 kB / 289.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.0329, allocations: 88.92 kB / 289.2 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.03308, allocations: 99.81 kB / 289.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1036/0.1366, allocations: 1.579 MB / 290.9 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.1369, allocations: 45.2 kB / 290.9 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1369, allocations: 9.766 kB / 290.9 MB, free: 19.8 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.0001323/0.137, allocations: 139.4 kB / 291 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.1371, allocations: 29.22 kB / 291.1 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.1375, allocations: 319.7 kB / 291.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1375, allocations: 7.438 kB / 291.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1375, allocations: 1.344 kB / 291.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1375, allocations: 3.422 kB / 291.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.1382, allocations: 0.6026 MB / 292 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1382, allocations: 1.062 kB / 292 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1384, allocations: 74.11 kB / 292.1 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.1386, allocations: 83.62 kB / 292.2 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1386, allocations: 9.547 kB / 292.2 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007672/0.1394, allocations: 1.597 MB / 293.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1394, allocations: 0.7031 kB / 293.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1398, allocations: 458.6 kB / 294.2 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.1398, allocations: 29.95 kB / 294.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1399, allocations: 9.156 kB / 294.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.14, allocations: 16.52 kB / 294.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.14, allocations: 34.95 kB / 294.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.14, allocations: 10.23 kB / 294.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.558e-05/0.1401, allocations: 36.64 kB / 294.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1401, allocations: 1.094 kB / 294.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000367/0.1404, allocations: 155.4 kB / 294.5 MB, free: 17.96 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.000164/0.1406, allocations: 129 kB / 294.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.141, allocations: 393 kB / 295 MB, free: 17.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.141, allocations: 5.938 kB / 295 MB, free: 17.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1412, allocations: 287.2 kB / 295.3 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.1414, allocations: 33.36 kB / 295.3 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.1423, allocations: 0.7094 MB / 296 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.1424, allocations: 111.4 kB / 296.1 MB, free: 17.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1425, allocations: 45.72 kB / 296.2 MB, free: 17.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1426, allocations: 98.3 kB / 296.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1426, allocations: 0 / 296.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of Templates: time 0.006747/0.1493, allocations: 4.723 MB / 301 MB, free: 16.72 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 -s gbode -gbm=radauIIA3 -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.6163528780452907]