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.001236/0.001236, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.000869/0.000869, allocations: 168.8 kB / 24.91 MB, free: 9.156 MB / 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.848/0.848, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.102e-06/1.102e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.237e-06/1.034e-05, allocations: 4.844 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003098/0.003109, allocations: 3.619 MB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.004564, allocations: 1.479 MB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.004681, allocations: 8 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009069/0.005588, allocations: 0.8047 MB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.006079, allocations: 389.8 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.006611, allocations: 0.5253 MB / 280.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.006913, allocations: 481.7 kB / 280.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.007269, allocations: 379.9 kB / 281.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.007526, allocations: 307.2 kB / 281.4 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.007708, allocations: 207.4 kB / 281.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.007748, allocations: 44 kB / 281.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.007968, allocations: 207.6 kB / 281.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.008024, allocations: 111.6 kB / 282 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.00812, allocations: 155.6 kB / 282.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.008532, allocations: 0.506 MB / 282.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.008534, allocations: 4 kB / 282.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.008534, allocations: 0 / 282.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.008538, allocations: 0 / 282.6 MB, free: 8.078 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.00107/0.009608, allocations: 0.8432 MB / 283.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.009634, allocations: 12.03 kB / 283.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.0114, allocations: 0.6485 MB / 284.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.01159, allocations: 185.1 kB / 284.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.01162, allocations: 37.69 kB / 284.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.01167, allocations: 60.33 kB / 284.4 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.01201, allocations: 385.3 kB / 284.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.01202, allocations: 4.188 kB / 284.8 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.01205, allocations: 24.12 kB / 284.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01206, allocations: 12 kB / 284.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.01232, allocations: 234.2 kB / 285 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.0136, allocations: 1.182 MB / 286.2 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.01426, allocations: 0.4921 MB / 286.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.01435, allocations: 98.3 kB / 286.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.0144, allocations: 24.48 kB / 286.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.01442, allocations: 43 kB / 286.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.473e-06/0.01442, allocations: 0 / 286.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006606/0.01508, allocations: 430.5 kB / 287.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.0151, allocations: 55.91 kB / 287.4 MB, free: 3.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.01518, allocations: 172.9 kB / 287.5 MB, free: 2.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01521, allocations: 29.7 kB / 287.5 MB, free: 2.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.01528, allocations: 224.9 kB / 287.8 MB, free: 2.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.01535, allocations: 178.5 kB / 287.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.01543, allocations: 82.16 kB / 288 MB, free: 2.465 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.0155, allocations: 334.8 kB / 288.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.01556, allocations: 56.97 kB / 288.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.01565, allocations: 132.2 kB / 288.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.01584, allocations: 228.7 kB / 288.8 MB, free: 1.672 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01584, allocations: 4 kB / 288.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003088/0.01615, allocations: 311 kB / 289.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.01616, allocations: 6.031 kB / 289.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01616, allocations: 12.22 kB / 289.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.01637, allocations: 84.73 kB / 289.2 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.01654, allocations: 83.89 kB / 289.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08117/0.09771, allocations: 1.581 MB / 290.8 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.09787, allocations: 43.75 kB / 290.9 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.0979, allocations: 14.78 kB / 290.9 MB, free: 20.68 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.000112/0.09801, allocations: 136.2 kB / 291 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.09805, allocations: 34.66 kB / 291.1 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.09846, allocations: 322 kB / 291.4 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.09846, allocations: 6.875 kB / 291.4 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.09847, allocations: 3.031 kB / 291.4 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-06/0.09847, allocations: 1.969 kB / 291.4 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.09908, allocations: 0.6052 MB / 292 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.09908, allocations: 0 / 292 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.09924, allocations: 74.14 kB / 292.1 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.09943, allocations: 85.61 kB / 292.1 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.09944, allocations: 11.08 kB / 292.2 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006534/0.1001, allocations: 1.583 MB / 293.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1001, allocations: 1.25 kB / 293.7 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.1005, allocations: 457.2 kB / 294.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.1005, allocations: 30.14 kB / 294.2 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.1005, allocations: 5.156 kB / 294.2 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.1006, allocations: 21.11 kB / 294.2 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1007, allocations: 34.3 kB / 294.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1007, allocations: 10.39 kB / 294.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.1007, allocations: 36.06 kB / 294.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1007, allocations: 0 / 294.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.1011, allocations: 153.8 kB / 294.5 MB, free: 18.86 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.0001518/0.1012, allocations: 131.1 kB / 294.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.1016, allocations: 394.7 kB / 295 MB, free: 18.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1016, allocations: 1.5 kB / 295 MB, free: 18.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1018, allocations: 291.3 kB / 295.3 MB, free: 18.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.1019, allocations: 35.48 kB / 295.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.1028, allocations: 0.7155 MB / 296 MB, free: 18.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.424e-05/0.1029, allocations: 110.7 kB / 296.1 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.103, allocations: 48.03 kB / 296.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1031, allocations: 95.55 kB / 296.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1031, allocations: 0 / 296.3 MB, free: 18.02 MB / 266.7 MB Notification: Performance of Templates: time 0.006468/0.1095, allocations: 4.735 MB / 301 MB, free: 17.57 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.342503916937858]