Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.001706/0.001706, allocations: 92.33 kB / 21.73 MB, free: 2.676 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.002166/0.002166, allocations: 164.7 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.803e-05, allocations: 6.109 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.00547/0.005498, allocations: 3.428 MB / 253.8 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.008653, allocations: 1.383 MB / 255.2 MB, free: 2.984 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.008869, allocations: 12 kB / 255.2 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.01089, allocations: 0.7425 MB / 255.9 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.012, allocations: 401.8 kB / 256.3 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.0132, allocations: 0.5175 MB / 256.8 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006599/0.01386, allocations: 0.5015 MB / 257.3 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007761/0.01463, allocations: 426.1 kB / 257.8 MB, free: 392 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.01516, allocations: 331.2 kB / 258.1 MB, free: 60 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.01553, allocations: 215.5 kB / 258.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.01561, allocations: 48 kB / 258.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.01608, allocations: 211.5 kB / 258.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.01619, allocations: 119.6 kB / 258.7 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.01641, allocations: 167.5 kB / 258.8 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.01742, allocations: 0.7359 MB / 259.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01743, allocations: 0 / 259.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01743, allocations: 0 / 259.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.01744, allocations: 0 / 259.6 MB, free: 14.57 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002297/0.01973, allocations: 0.8757 MB / 260.4 MB, free: 13.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.01978, allocations: 11.98 kB / 260.5 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/0.02418, allocations: 0.7263 MB / 261.2 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.02479, allocations: 261 kB / 261.4 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/0.02484, allocations: 41.69 kB / 261.5 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.02496, allocations: 60.38 kB / 261.5 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.02649, allocations: 0.5866 MB / 262.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.02652, allocations: 4.188 kB / 262.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.02659, allocations: 27.94 kB / 262.2 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.02661, allocations: 12 kB / 262.2 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.02793, allocations: 0.6414 MB / 262.8 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.03155, allocations: 1.619 MB / 264.4 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.03338, allocations: 0.6227 MB / 265 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.03391, allocations: 242.2 kB / 265.3 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.998e-05/0.03399, allocations: 20.48 kB / 265.3 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.03403, allocations: 35.06 kB / 265.3 MB, free: 8.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.03403, allocations: 0 / 265.3 MB, free: 8.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.00198/0.03601, allocations: 0.6928 MB / 266 MB, free: 7.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.03608, allocations: 63.84 kB / 266.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.03635, allocations: 190.3 kB / 266.3 MB, free: 7.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.0364, allocations: 33.7 kB / 266.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.03663, allocations: 248.7 kB / 266.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.03682, allocations: 170.5 kB / 266.7 MB, free: 7.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.03701, allocations: 98.28 kB / 266.8 MB, free: 7.137 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.03724, allocations: 338.8 kB / 267.1 MB, free: 6.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.0376, allocations: 161.2 kB / 267.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.03808, allocations: 284.7 kB / 267.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.03894, allocations: 475.4 kB / 268 MB, free: 5.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.03894, allocations: 4 kB / 268.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001343/0.04029, allocations: 0.6032 MB / 268.7 MB, free: 5.184 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.04031, allocations: 8 kB / 268.7 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.04032, allocations: 4 kB / 268.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.04094, allocations: 109.2 kB / 268.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.04141, allocations: 107.9 kB / 268.9 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.04354, allocations: 1.644 MB / 270.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.04388, allocations: 59.62 kB / 270.6 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.04392, allocations: 23.98 kB / 270.6 MB, free: 3.129 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.04421, allocations: 177.7 kB / 270.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.04432, allocations: 39.86 kB / 270.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.04558, allocations: 0.5487 MB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.04559, allocations: 4 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.04559, allocations: 0 / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.04561, allocations: 7.922 kB / 271.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.04758, allocations: 1.016 MB / 272.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.04758, allocations: 0 / 272.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.04796, allocations: 83.83 kB / 272.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.04837, allocations: 100.8 kB / 272.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.04841, allocations: 15.98 kB / 272.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.05045, allocations: 1.632 MB / 274.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.05046, allocations: 0 / 274.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.05218, allocations: 0.8402 MB / 275.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.05226, allocations: 35.69 kB / 275.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.05231, allocations: 11.98 kB / 275.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.05256, allocations: 16 kB / 275.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.05268, allocations: 44.48 kB / 275.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.05271, allocations: 12 kB / 275.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.05289, allocations: 144.2 kB / 275.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05289, allocations: 0 / 275.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007003/0.05359, allocations: 155.7 kB / 275.5 MB, free: 14.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.05392, allocations: 131.2 kB / 275.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.05541, allocations: 0.5742 MB / 276.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.05541, allocations: 0 / 276.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006509/0.05606, allocations: 357.2 kB / 276.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.05645, allocations: 44.59 kB / 276.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.05833, allocations: 0.8311 MB / 277.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.05862, allocations: 221 kB / 277.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.05884, allocations: 46.95 kB / 277.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.05895, allocations: 40.5 kB / 277.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.263e-06/0.05895, allocations: 0 / 277.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Templates: time 0.01149/0.07044, allocations: 4.269 MB / 282 MB, free: 7.512 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.556606734986417]