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.0009047/0.0009047, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009548/0.0009548, allocations: 174.3 kB / 24.92 MB, free: 8.762 MB / 18.57 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 0.9507/0.9507, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 273.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.632e-05, allocations: 2.312 kB / 273.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003715/0.003731, allocations: 2.876 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004893, allocations: 0.7163 MB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.005012, allocations: 4 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.005166, allocations: 67.36 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.005299, allocations: 91.14 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.005495, allocations: 95.8 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.00578, allocations: 394.7 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.005964, allocations: 123.4 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.006239, allocations: 231.5 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.006365, allocations: 111.7 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.006398, allocations: 32 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.00643, allocations: 40 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.006474, allocations: 75.73 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.006559, allocations: 123.7 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.006768, allocations: 247.1 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.006769, allocations: 0 / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.00677, allocations: 0 / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.006773, allocations: 0 / 278.7 MB, free: 11.96 MB / 266.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.0005015/0.007275, allocations: 0.5312 MB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.007305, allocations: 8.031 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.007361, allocations: 52.89 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.007528, allocations: 169.3 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.007554, allocations: 21.03 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.007591, allocations: 36.36 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.007819, allocations: 266.7 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.007828, allocations: 4.125 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.007845, allocations: 12.38 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007852, allocations: 11.94 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.007941, allocations: 72.56 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.008699, allocations: 0.7123 MB / 280.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.008817, allocations: 94.45 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.008904, allocations: 73.16 kB / 280.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.008918, allocations: 3.953 kB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.008938, allocations: 42.55 kB / 280.7 MB, free: 9.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.233e-06/0.00894, allocations: 4 kB / 280.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001559/0.009096, allocations: 117.5 kB / 280.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.00912, allocations: 55.41 kB / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.009211, allocations: 186.8 kB / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.009223, allocations: 29.7 kB / 281.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.009304, allocations: 192.2 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.009353, allocations: 75.36 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.009402, allocations: 49.97 kB / 281.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.009475, allocations: 334.8 kB / 281.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.009505, allocations: 20.55 kB / 281.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.009572, allocations: 107.3 kB / 281.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.009728, allocations: 153.1 kB / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00973, allocations: 0 / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001461/0.009876, allocations: 161.3 kB / 282.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.009888, allocations: 8 kB / 282.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.009892, allocations: 0 / 282.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.009902, allocations: 4 kB / 282.2 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01005, allocations: 71.91 kB / 282.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.01006, allocations: 11.92 kB / 282.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.01012, allocations: 31.77 kB / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01013, allocations: 8.25 kB / 282.3 MB, free: 8.023 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 6.617e-05/0.0102, allocations: 125.8 kB / 282.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01022, allocations: 24.02 kB / 282.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.01034, allocations: 119.3 kB / 282.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01034, allocations: 4 kB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01034, allocations: 0 / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01035, allocations: 3.984 kB / 282.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.01064, allocations: 354.9 kB / 282.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01064, allocations: 0 / 282.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.01077, allocations: 59.97 kB / 283 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.01077, allocations: 0 / 283 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01078, allocations: 8 kB / 283 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01079, allocations: 3.938 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01079, allocations: 0 / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.01096, allocations: 256.6 kB / 283.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.01098, allocations: 23.8 kB / 283.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.01099, allocations: 11.98 kB / 283.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.01106, allocations: 12 kB / 283.3 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.01109, allocations: 15.97 kB / 283.3 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.0111, allocations: 4 kB / 283.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.01114, allocations: 54.05 kB / 283.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 283.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.01132, allocations: 79.78 kB / 283.5 MB, free: 6.82 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 7.461e-05/0.0114, allocations: 88.34 kB / 283.6 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.01152, allocations: 116.9 kB / 283.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.01152, allocations: 4.125 kB / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.01156, allocations: 44.78 kB / 283.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.01172, allocations: 27.98 kB / 283.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.0125, allocations: 0.6164 MB / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.856e-05/0.01255, allocations: 91.97 kB / 284.4 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.01261, allocations: 17.94 kB / 284.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.01269, allocations: 91.36 kB / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01269, allocations: 0 / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of Templates: time 0.003574/0.01626, allocations: 1.925 MB / 286.5 MB, free: 3.773 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7233814699575305]