Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001852/0.001852, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002308/0.002308, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2109, allocations: 53.38 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005079/0.216, allocations: 3.403 MB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2183, allocations: 1.394 MB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2185, allocations: 11.94 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.2203, allocations: 0.6884 MB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009438/0.2213, allocations: 389 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2223, allocations: 0.5269 MB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.2228, allocations: 466 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006865/0.2235, allocations: 426.1 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.2238, allocations: 227.2 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2242, allocations: 274.9 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.2242, allocations: 44 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.2246, allocations: 211.9 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2247, allocations: 115.6 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.2249, allocations: 191.1 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000834/0.2258, allocations: 0.7072 MB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2258, allocations: 4 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2258, allocations: 0 / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2258, allocations: 0 / 441.4 MB, free: 13.69 MB / 350.1 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.002185/0.228, allocations: 0.8524 MB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.228, allocations: 12.03 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.2318, allocations: 472.1 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.2322, allocations: 245.9 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.2322, allocations: 41.69 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.2323, allocations: 48.38 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.2334, allocations: 0.5588 MB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.2334, allocations: 4 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.2335, allocations: 20 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.2335, allocations: 16 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2346, allocations: 0.5712 MB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.2376, allocations: 1.513 MB / 445.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.2391, allocations: 0.5467 MB / 446.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.2396, allocations: 234.1 kB / 446.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.851e-05/0.2397, allocations: 28.41 kB / 446.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2397, allocations: 35 kB / 446.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.2398, allocations: 3.938 kB / 446.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001917/0.2417, allocations: 0.6636 MB / 447.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2417, allocations: 59.83 kB / 447.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2419, allocations: 174.1 kB / 447.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.2419, allocations: 29.7 kB / 447.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2421, allocations: 221 kB / 447.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.2422, allocations: 178.5 kB / 447.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.2424, allocations: 82.14 kB / 447.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2425, allocations: 338.8 kB / 448.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.2428, allocations: 148.9 kB / 448.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.2432, allocations: 241.9 kB / 448.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.244, allocations: 416.9 kB / 449 MB, free: 5.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.244, allocations: 4 kB / 449.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001129/0.2451, allocations: 0.5397 MB / 449.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2451, allocations: 8 kB / 449.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2451, allocations: 7.938 kB / 449.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/0.2455, allocations: 72.81 kB / 449.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.2459, allocations: 99.88 kB / 449.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.2478, allocations: 1.628 MB / 451.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.2481, allocations: 43.73 kB / 451.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.2481, allocations: 19.98 kB / 451.5 MB, free: 3.199 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0002025/0.2483, allocations: 173.6 kB / 451.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.2484, allocations: 23.92 kB / 451.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.2496, allocations: 0.5426 MB / 452.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2496, allocations: 4 kB / 452.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2496, allocations: 4 kB / 452.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2496, allocations: 3.984 kB / 452.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.2514, allocations: 0.9799 MB / 453.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2514, allocations: 3.938 kB / 453.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.2518, allocations: 75.89 kB / 453.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/0.2521, allocations: 80.8 kB / 453.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.2521, allocations: 8 kB / 453.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.2539, allocations: 1.643 MB / 455 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2539, allocations: 7.969 kB / 455 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.2554, allocations: 0.7991 MB / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.2554, allocations: 35.67 kB / 455.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.2555, allocations: 8 kB / 455.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.2557, allocations: 23.92 kB / 455.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.2558, allocations: 36.36 kB / 455.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.2559, allocations: 16 kB / 455.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.256, allocations: 124.1 kB / 456 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.256, allocations: 64 / 456 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.2565, allocations: 151.7 kB / 456.2 MB, free: 14.28 MB / 366.1 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 (44): * Single equations (assignments): 43 * 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.000218/0.2567, allocations: 143.1 kB / 456.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.2578, allocations: 0.5463 MB / 456.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2578, allocations: 0.5625 kB / 456.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.2584, allocations: 357.1 kB / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.2588, allocations: 31.84 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2602, allocations: 0.8319 MB / 458.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.2604, allocations: 204.7 kB / 458.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.2606, allocations: 50.94 kB / 458.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.509e-05/0.2606, allocations: 31.44 kB / 458.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2606, allocations: 4 kB / 458.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of Templates: time 0.01015/0.2708, allocations: 4.835 MB / 463.2 MB, free: 7.215 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.397359481998137]