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.0007216/0.0007216, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003338/0.003338, allocations: 160.3 kB / 24.7 MB, free: 9.43 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.8562/0.8562, allocations: 177.1 MB / 205 MB, free: 5.746 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.823e-06/1.823e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.603e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003189/0.003225, allocations: 3.407 MB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004675, allocations: 1.398 MB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.004797, allocations: 12 kB / 330.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000847/0.005644, allocations: 0.734 MB / 331.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.006142, allocations: 393.8 kB / 331.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.00669, allocations: 0.5236 MB / 332.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.007015, allocations: 473.8 kB / 332.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.00741, allocations: 354 kB / 333.1 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.007679, allocations: 299.3 kB / 333.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.007862, allocations: 207.4 kB / 333.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.00791, allocations: 40 kB / 333.6 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.008151, allocations: 207.7 kB / 333.8 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.008201, allocations: 103.5 kB / 333.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.613e-05/0.008298, allocations: 163.6 kB / 334.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.008825, allocations: 0.7048 MB / 334.8 MB, free: 6.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.008828, allocations: 0 / 334.8 MB, free: 6.438 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008829, allocations: 4 kB / 334.8 MB, free: 6.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.008835, allocations: 0 / 334.8 MB, free: 6.434 MB / 298.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.001181/0.01002, allocations: 0.829 MB / 335.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01005, allocations: 15.97 kB / 335.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.01165, allocations: 476.1 kB / 336.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.01196, allocations: 249.1 kB / 336.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.01199, allocations: 37.69 kB / 336.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.01205, allocations: 56.38 kB / 336.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.01265, allocations: 0.5358 MB / 337 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.01267, allocations: 12.06 kB / 337 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.01271, allocations: 28.12 kB / 337 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.01272, allocations: 12 kB / 337 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.01333, allocations: 0.5595 MB / 337.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.01492, allocations: 1.501 MB / 339.1 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.01577, allocations: 0.5626 MB / 339.7 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.01597, allocations: 194.2 kB / 339.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.01602, allocations: 20.47 kB / 339.9 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01604, allocations: 43.05 kB / 339.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.552e-06/0.01604, allocations: 0 / 339.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001081/0.01712, allocations: 0.7239 MB / 340.6 MB, free: 452 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.01715, allocations: 55.91 kB / 340.7 MB, free: 384 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.01726, allocations: 174.8 kB / 340.9 MB, free: 200 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.01729, allocations: 33.7 kB / 340.9 MB, free: 160 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.01738, allocations: 225.1 kB / 341.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.01746, allocations: 162.6 kB / 341.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.01754, allocations: 90.12 kB / 341.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.01764, allocations: 330.8 kB / 341.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.01782, allocations: 152.9 kB / 341.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.01802, allocations: 228.3 kB / 342 MB, free: 14.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.01842, allocations: 404.7 kB / 342.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01843, allocations: 0 / 342.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005904/0.01902, allocations: 0.5407 MB / 343 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01903, allocations: 8.219 kB / 343 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01904, allocations: 4 kB / 343 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.01927, allocations: 84.8 kB / 343.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.01945, allocations: 95.83 kB / 343.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.02073, allocations: 1.888 MB / 345.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.02085, allocations: 43.72 kB / 345.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.02087, allocations: 20 kB / 345.1 MB, free: 11.74 MB / 314.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.0001305/0.021, allocations: 169.7 kB / 345.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.02104, allocations: 39.78 kB / 345.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.02168, allocations: 0.5363 MB / 345.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.02169, allocations: 8 kB / 345.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.02169, allocations: 0 / 345.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.02169, allocations: 3.984 kB / 345.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009288/0.02262, allocations: 0.9722 MB / 346.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.02262, allocations: 0 / 346.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.02278, allocations: 75.89 kB / 346.9 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.02293, allocations: 88.75 kB / 347 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.02295, allocations: 11.98 kB / 347 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.02407, allocations: 1.896 MB / 348.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02407, allocations: 4.031 kB / 348.9 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007844/0.02485, allocations: 0.7913 MB / 349.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.02488, allocations: 35.77 kB / 349.7 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.0249, allocations: 11.98 kB / 349.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.025, allocations: 16 kB / 349.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.02505, allocations: 36.42 kB / 349.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.02507, allocations: 20.06 kB / 349.8 MB, free: 6.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.02514, allocations: 128.1 kB / 350 MB, free: 6.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02514, allocations: 0 / 350 MB, free: 6.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.02549, allocations: 155.6 kB / 350.1 MB, free: 6.57 MB / 314.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.0001882/0.02568, allocations: 147 kB / 350.2 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000622/0.0263, allocations: 0.5399 MB / 350.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.0263, allocations: 7.938 kB / 350.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.0266, allocations: 353.4 kB / 351.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.02681, allocations: 31.98 kB / 351.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.02764, allocations: 0.787 MB / 352 MB, free: 4.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.02775, allocations: 204.8 kB / 352.2 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.02783, allocations: 48.42 kB / 352.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02784, allocations: 0 / 352.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of Templates: time 0.007948/0.03578, allocations: 6.616 MB / 358.8 MB, free: 13.75 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.734252895228565]