Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001381/0.001381, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.001306/0.001306, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.9443/0.9443, allocations: 173.3 MB / 201.1 MB, free: 9.352 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.012e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00312/0.00315, allocations: 2.876 MB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.004504, allocations: 0.6659 MB / 271.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.004665, allocations: 7.938 kB / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.00485, allocations: 67.36 kB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.005003, allocations: 91.12 kB / 271.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.005296, allocations: 95.81 kB / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.005632, allocations: 394.7 kB / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.005845, allocations: 116.8 kB / 272.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.006135, allocations: 227.5 kB / 272.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.006265, allocations: 111.7 kB / 272.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.006313, allocations: 36 kB / 272.7 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.006348, allocations: 32 kB / 272.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.006399, allocations: 79.66 kB / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.006491, allocations: 127.7 kB / 272.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.006769, allocations: 247.1 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006774, allocations: 0 / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.006776, allocations: 0 / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.006782, allocations: 0 / 273.1 MB, free: 1.266 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006875/0.00747, allocations: 0.6442 MB / 273.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.007508, allocations: 12.92 kB / 273.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.00759, allocations: 60.7 kB / 273.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.007815, allocations: 216 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.007836, allocations: 24.97 kB / 274.1 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.007877, allocations: 36.38 kB / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.008204, allocations: 270.8 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.008215, allocations: 192 / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.008236, allocations: 16.36 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.008249, allocations: 11.94 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.008407, allocations: 119.8 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.009659, allocations: 0.8907 MB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.009876, allocations: 115.1 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.01004, allocations: 83.64 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.01005, allocations: 7.938 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.01008, allocations: 37.39 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.01008, allocations: 0 / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.00031/0.01039, allocations: 157.8 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.01042, allocations: 59.36 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.01058, allocations: 249.5 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.0106, allocations: 29.7 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01071, allocations: 239.1 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.01076, allocations: 79.31 kB / 276.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/0.01083, allocations: 55.64 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01096, allocations: 0.5001 MB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.01103, allocations: 32.48 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.01115, allocations: 145.6 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.01135, allocations: 188.3 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01136, allocations: 4 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002933/0.01165, allocations: 213.4 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01167, allocations: 12 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01167, allocations: 4 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.01169, allocations: 7.938 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.01191, allocations: 71.89 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01193, allocations: 7.938 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.01202, allocations: 27.84 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01204, allocations: 8 kB / 277.7 MB, free: 12.34 MB / 266.7 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.0001005/0.01214, allocations: 172.5 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.01218, allocations: 31.89 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.0124, allocations: 150.8 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.01241, allocations: 0 / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01241, allocations: 3.938 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01242, allocations: 7.984 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.01292, allocations: 0.4996 MB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01292, allocations: 0 / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.01312, allocations: 51.97 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.01312, allocations: 7.938 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.01314, allocations: 4 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01314, allocations: 8.062 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01314, allocations: 0 / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.01345, allocations: 355.4 kB / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01347, allocations: 11.91 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.0135, allocations: 11.94 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.01361, allocations: 19.98 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.01366, allocations: 11.97 kB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01367, allocations: 12 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.016e-05/0.01376, allocations: 179.9 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01376, allocations: 0 / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.01408, allocations: 83.73 kB / 279.3 MB, free: 10.65 MB / 266.7 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 9.987e-05/0.01418, allocations: 103.2 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.0144, allocations: 123.4 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.0144, allocations: 3.938 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.01448, allocations: 64.09 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.01479, allocations: 32.05 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.01605, allocations: 0.7143 MB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.01611, allocations: 87.97 kB / 280.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.066e-05/0.01618, allocations: 21.95 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.01623, allocations: 20.5 kB / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01623, allocations: 0 / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of Templates: time 0.004847/0.02108, allocations: 1.918 MB / 282.4 MB, free: 7.523 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.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.9716426148079336]