Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 161.3 kB / 25.61 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9316/0.9316, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.601e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004368/0.004394, allocations: 2.877 MB / 277 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.006056, allocations: 0.6989 MB / 277.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.006284, allocations: 7.938 kB / 277.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.006509, allocations: 63.42 kB / 277.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.006743, allocations: 83.14 kB / 277.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.00709, allocations: 101.4 kB / 278 MB, free: 452 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.007667, allocations: 390.7 kB / 278.3 MB, free: 60 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.008038, allocations: 117.6 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.008534, allocations: 231.4 kB / 278.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.008735, allocations: 120.3 kB / 278.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.008793, allocations: 36 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.008843, allocations: 32 kB / 278.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.008905, allocations: 71.75 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.009028, allocations: 119.7 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.009405, allocations: 255.1 kB / 279.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.00941, allocations: 0 / 279.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.009411, allocations: 0 / 279.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.009418, allocations: 0 / 279.3 MB, free: 15.1 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.0009169/0.01033, allocations: 0.648 MB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.01038, allocations: 8.031 kB / 279.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.0105, allocations: 60.7 kB / 280 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.0108, allocations: 208.1 kB / 280.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.01083, allocations: 25.02 kB / 280.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.01089, allocations: 44.31 kB / 280.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.0113, allocations: 250.7 kB / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.01131, allocations: 192 / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.01134, allocations: 16.38 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.01136, allocations: 11.94 kB / 280.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.01154, allocations: 84.52 kB / 280.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.01303, allocations: 0.86 MB / 281.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.01326, allocations: 111.1 kB / 281.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.01341, allocations: 71.64 kB / 281.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.01343, allocations: 7.938 kB / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.01347, allocations: 45.39 kB / 281.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/0.01347, allocations: 0 / 281.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003111/0.01378, allocations: 143.7 kB / 281.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.01382, allocations: 59.34 kB / 281.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.014, allocations: 242.2 kB / 282.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.01401, allocations: 25.7 kB / 282.2 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.01415, allocations: 247 kB / 282.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.01421, allocations: 79.36 kB / 282.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.0143, allocations: 55.61 kB / 282.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.01448, allocations: 0.5001 MB / 283.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.01455, allocations: 28.48 kB / 283.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.01468, allocations: 145.6 kB / 283.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.01488, allocations: 172.4 kB / 283.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01489, allocations: 0 / 283.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003334/0.01522, allocations: 198.7 kB / 283.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01524, allocations: 7.938 kB / 283.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.01525, allocations: 8 kB / 283.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01527, allocations: 4 kB / 283.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.01553, allocations: 67.91 kB / 283.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.01554, allocations: 15.86 kB / 283.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.01567, allocations: 28.03 kB / 283.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.01569, allocations: 12 kB / 283.7 MB, free: 10.33 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.0001203/0.01581, allocations: 172.5 kB / 283.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.01587, allocations: 27.91 kB / 283.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.0161, allocations: 138.4 kB / 284.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01611, allocations: 4 kB / 284.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01611, allocations: 0 / 284.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01612, allocations: 3.938 kB / 284.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.0167, allocations: 467.6 kB / 284.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.0167, allocations: 48 / 284.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.01695, allocations: 64.02 kB / 284.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01695, allocations: 0 / 284.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.01697, allocations: 8 kB / 284.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.01698, allocations: 3.938 kB / 284.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.01698, allocations: 0 / 284.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.01735, allocations: 339.4 kB / 284.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.01738, allocations: 23.84 kB / 285 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.01741, allocations: 0 / 285 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.01757, allocations: 23.92 kB / 285 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.01763, allocations: 15.98 kB / 285 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.01764, allocations: 7.984 kB / 285 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.01774, allocations: 159.1 kB / 285.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01774, allocations: 0 / 285.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.01813, allocations: 79.73 kB / 285.2 MB, free: 8.738 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 0.0001358/0.01826, allocations: 107.2 kB / 285.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.0185, allocations: 119.7 kB / 285.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.0185, allocations: 0 / 285.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.01859, allocations: 59.53 kB / 285.5 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.01896, allocations: 27.92 kB / 285.5 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.02044, allocations: 0.7061 MB / 286.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.733e-05/0.02052, allocations: 87.97 kB / 286.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.02062, allocations: 21.92 kB / 286.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.02077, allocations: 110.2 kB / 286.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02077, allocations: 4 kB / 286.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of Templates: time 0.005996/0.02677, allocations: 2.046 MB / 288.5 MB, free: 5.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8741017673164606]