Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 78.28 kB / 21.42 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 154.1 kB / 24.81 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9619/0.9619, allocations: 173.4 MB / 201.5 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 268.4 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.647e-05, allocations: 9.344 kB / 268.4 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003883/0.003899, allocations: 3.576 MB / 272 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.005335, allocations: 1.371 MB / 273.4 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.005459, allocations: 12 kB / 273.4 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.006364, allocations: 0.7772 MB / 274.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006047/0.006968, allocations: 0.5139 MB / 274.7 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.007382, allocations: 408.5 kB / 275.1 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.007684, allocations: 473.7 kB / 275.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.008047, allocations: 350 kB / 275.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.008321, allocations: 299.2 kB / 276.2 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.008504, allocations: 203.5 kB / 276.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.008556, allocations: 44 kB / 276.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.008785, allocations: 195.7 kB / 276.6 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.008837, allocations: 107.6 kB / 276.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.008932, allocations: 163.6 kB / 276.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.00934, allocations: 0.4982 MB / 277.4 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.009342, allocations: 0 / 277.4 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009343, allocations: 0 / 277.4 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.009346, allocations: 3.938 kB / 277.4 MB, free: 0.8086 MB / 250.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.001124/0.01047, allocations: 0.9445 MB / 278.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.0105, allocations: 16.03 kB / 278.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.01225, allocations: 0.6053 MB / 278.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.01248, allocations: 250.9 kB / 279.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.0125, allocations: 37.69 kB / 279.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.01256, allocations: 60.33 kB / 279.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.01292, allocations: 373.3 kB / 279.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.01294, allocations: 4.188 kB / 279.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.01297, allocations: 28.12 kB / 279.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.01298, allocations: 12 kB / 279.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.01326, allocations: 270.2 kB / 279.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.01466, allocations: 1.458 MB / 281.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.01536, allocations: 0.5614 MB / 282 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01547, allocations: 107.1 kB / 282.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.01551, allocations: 20.47 kB / 282.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01553, allocations: 45.83 kB / 282.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.633e-06/0.01553, allocations: 0 / 282.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007527/0.01628, allocations: 0.4885 MB / 282.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.01631, allocations: 59.91 kB / 282.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.01641, allocations: 227.7 kB / 282.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.01643, allocations: 37.7 kB / 282.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.01653, allocations: 275.6 kB / 283.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.0166, allocations: 170.5 kB / 283.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.01669, allocations: 91.75 kB / 283.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.0168, allocations: 0.5079 MB / 284 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.01687, allocations: 64.95 kB / 284 MB, free: 9.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.01699, allocations: 174.9 kB / 284.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.0172, allocations: 263.3 kB / 284.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0172, allocations: 0 / 284.5 MB, free: 9.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003933/0.0176, allocations: 396.7 kB / 284.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01761, allocations: 4 kB / 284.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01761, allocations: 4 kB / 284.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.01783, allocations: 99.72 kB / 285 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01801, allocations: 87.89 kB / 285 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.01913, allocations: 2.288 MB / 287.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01924, allocations: 43.67 kB / 287.4 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.01926, allocations: 15.98 kB / 287.4 MB, free: 6.359 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 9.989e-05/0.01936, allocations: 176.5 kB / 287.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.01941, allocations: 43.89 kB / 287.6 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.01982, allocations: 384 kB / 288 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.01982, allocations: 15.92 kB / 288 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01982, allocations: 0 / 288 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01983, allocations: 0 / 288 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.02054, allocations: 0.8068 MB / 288.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02054, allocations: 0 / 288.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.02069, allocations: 75.91 kB / 288.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.02087, allocations: 91.59 kB / 289 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.02089, allocations: 12 kB / 289 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.02192, allocations: 2.291 MB / 291.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02192, allocations: 0 / 291.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.0224, allocations: 0.5641 MB / 291.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.02242, allocations: 31.72 kB / 291.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.02244, allocations: 12 kB / 291.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.02254, allocations: 16 kB / 291.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.02259, allocations: 36.42 kB / 291.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.02261, allocations: 12 kB / 291.9 MB, free: 1.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.292e-05/0.02266, allocations: 157 kB / 292.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02266, allocations: 0 / 292.1 MB, free: 1.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003281/0.02299, allocations: 147.6 kB / 292.2 MB, free: 1.312 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.0001458/0.02314, allocations: 143.2 kB / 292.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.02356, allocations: 471.7 kB / 292.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02356, allocations: 0 / 292.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.02385, allocations: 369.5 kB / 293.2 MB, free: 312 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.02406, allocations: 28 kB / 293.2 MB, free: 284 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/0.02498, allocations: 0.7216 MB / 293.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.189e-05/0.02504, allocations: 110.3 kB / 294 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.02515, allocations: 46.95 kB / 294.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.02527, allocations: 122.2 kB / 294.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02527, allocations: 0 / 294.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of Templates: time 0.006419/0.03169, allocations: 4.624 MB / 298.8 MB, free: 10.64 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7016925220377743]