Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.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.001889/0.001889, 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.002258/0.002258, 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 2.246/2.246, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 177] 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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 47.88 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4318, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004365/0.4361, allocations: 2.715 MB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.4374, allocations: 0.6816 MB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.4376, allocations: 7.938 kB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.4378, allocations: 55.44 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.438, allocations: 91.19 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.4383, allocations: 95.81 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.4387, allocations: 374.9 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.439, allocations: 128.8 kB / 436.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.4393, allocations: 155.5 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.4396, allocations: 167.2 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.4396, allocations: 32 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.4397, allocations: 36 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.4398, allocations: 71.75 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.4399, allocations: 139.4 kB / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.4404, allocations: 389.4 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4404, allocations: 0 / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4404, allocations: 4 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.4404, allocations: 0 / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001014/0.4414, allocations: 0.5443 MB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4415, allocations: 12.03 kB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.4416, allocations: 36.7 kB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.442, allocations: 214.7 kB / 438.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.442, allocations: 25.03 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.4421, allocations: 32.38 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.4427, allocations: 337.7 kB / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4427, allocations: 0 / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.4427, allocations: 12 kB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4428, allocations: 8 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.4432, allocations: 214.5 kB / 438.9 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.4448, allocations: 0.8596 MB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.4452, allocations: 154.6 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.4455, allocations: 119.2 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4456, allocations: 0 / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.4456, allocations: 42.5 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.4456, allocations: 0 / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006209/0.4462, allocations: 225.6 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4463, allocations: 59.41 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4465, allocations: 199.8 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.4465, allocations: 33.64 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4467, allocations: 196.3 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.4467, allocations: 71.38 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.4468, allocations: 53.98 kB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.447, allocations: 330.8 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4472, allocations: 68.52 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.4474, allocations: 147.2 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.4478, allocations: 225.2 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4478, allocations: 0 / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005109/0.4483, allocations: 269.2 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4483, allocations: 11.94 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4483, allocations: 0 / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4484, allocations: 4 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.4487, allocations: 76.14 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.4487, allocations: 8 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.4488, allocations: 39.77 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.4489, allocations: 15.94 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.449, allocations: 141.7 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.4491, allocations: 23.84 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.4495, allocations: 201.5 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4495, allocations: 0 / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4495, allocations: 0 / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4495, allocations: 8 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.4504, allocations: 0.5025 MB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4504, allocations: 0 / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.4507, allocations: 55.91 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4507, allocations: 0 / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4507, allocations: 8 kB / 442.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4507, allocations: 0 / 442.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4507, allocations: 4.062 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.4513, allocations: 381.2 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.4514, allocations: 23.84 kB / 443.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.4514, allocations: 4.062 kB / 443.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.4516, allocations: 19.98 kB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.4516, allocations: 11.97 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4517, allocations: 8 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.4518, allocations: 144.5 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4518, allocations: 0 / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.4521, allocations: 83.73 kB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001263/0.4523, allocations: 103.2 kB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.4527, allocations: 171.2 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4527, allocations: 4.062 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.4529, allocations: 79.84 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4532, allocations: 24.12 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4547, allocations: 0.8524 MB / 444.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.4548, allocations: 159.1 kB / 445 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.712e-05/0.4549, allocations: 25.94 kB / 445 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.455, allocations: 19.44 kB / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.455, allocations: 0 / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Templates: time 0.00597/0.4609, allocations: 2.223 MB / 447.3 MB, free: 7.395 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.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: 6.192009552003583]