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.0013/0.0013, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001441/0.001441, allocations: 157.7 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.466/1.466, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.435e-06/2.435e-06, allocations: 0.7031 kB / 325 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.477e-05, allocations: 2.281 kB / 325 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00395/0.003974, allocations: 2.709 MB / 327.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.005428, allocations: 0.6805 MB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.00558, allocations: 9.875 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.005787, allocations: 59.8 kB / 328.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.005989, allocations: 93.8 kB / 328.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.006277, allocations: 95.08 kB / 328.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.006738, allocations: 392.5 kB / 329.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.007002, allocations: 117 kB / 329.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.007416, allocations: 230.8 kB / 329.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.007606, allocations: 113.5 kB / 329.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.007662, allocations: 33 kB / 329.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.007722, allocations: 33.34 kB / 329.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.007806, allocations: 78.69 kB / 329.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.007975, allocations: 121.5 kB / 329.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.008468, allocations: 392.4 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.008472, allocations: 0 / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008473, allocations: 1.062 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.00848, allocations: 0 / 330.2 MB, free: 13.19 MB / 302.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.0009988/0.009479, allocations: 0.5497 MB / 330.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.009514, allocations: 12.89 kB / 330.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.009595, allocations: 39.14 kB / 330.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.009953, allocations: 206.1 kB / 331 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.00998, allocations: 22.38 kB / 331 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.01004, allocations: 32.84 kB / 331 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.01064, allocations: 329.9 kB / 331.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.01065, allocations: 5.562 kB / 331.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.01069, allocations: 11.03 kB / 331.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.0107, allocations: 10.84 kB / 331.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.0112, allocations: 220.8 kB / 331.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.01275, allocations: 0.845 MB / 332.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.0131, allocations: 156 kB / 332.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.01339, allocations: 118.4 kB / 332.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01341, allocations: 6.281 kB / 332.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.01344, allocations: 40.77 kB / 332.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.01344, allocations: 0 / 332.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006199/0.01406, allocations: 229.3 kB / 333 MB, free: 11.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.01411, allocations: 52.72 kB / 333 MB, free: 11.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.01432, allocations: 203.4 kB / 333.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.01435, allocations: 27.08 kB / 333.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.01449, allocations: 205.1 kB / 333.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.01456, allocations: 80.09 kB / 333.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.01465, allocations: 52.48 kB / 333.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.01482, allocations: 331.1 kB / 333.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.015, allocations: 63.97 kB / 333.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.01523, allocations: 147 kB / 334.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.01566, allocations: 233.8 kB / 334.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01566, allocations: 1.25 kB / 334.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005245/0.01619, allocations: 268.8 kB / 334.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.0162, allocations: 6.75 kB / 334.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.01621, allocations: 5.828 kB / 334.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.01623, allocations: 8.188 kB / 334.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.01654, allocations: 71.25 kB / 334.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.01655, allocations: 12.33 kB / 334.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.01672, allocations: 25.03 kB / 334.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.01674, allocations: 8.344 kB / 334.7 MB, free: 9.758 MB / 302.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.0001594/0.0169, allocations: 155.1 kB / 334.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.01694, allocations: 17.69 kB / 334.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.01739, allocations: 192.5 kB / 335.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.0174, allocations: 2.25 kB / 335.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.0174, allocations: 3.938 kB / 335.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01741, allocations: 1.094 kB / 335.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.01823, allocations: 0.5038 MB / 335.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01823, allocations: 1.594 kB / 335.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.01852, allocations: 54.23 kB / 335.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.01853, allocations: 5.375 kB / 335.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.01855, allocations: 6.406 kB / 335.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01855, allocations: 2.594 kB / 335.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01855, allocations: 0 / 335.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.0192, allocations: 377 kB / 336 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.01924, allocations: 21.11 kB / 336 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.01927, allocations: 10.31 kB / 336.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.01947, allocations: 17.55 kB / 336.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.01952, allocations: 18.22 kB / 336.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.01954, allocations: 12.75 kB / 336.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.01967, allocations: 141.3 kB / 336.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01967, allocations: 1.281 kB / 336.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.02002, allocations: 75.03 kB / 336.3 MB, free: 8.613 MB / 302.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.000127/0.02015, allocations: 110.9 kB / 336.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004361/0.02059, allocations: 165.4 kB / 336.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02059, allocations: 3.938 kB / 336.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.02076, allocations: 81.16 kB / 336.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.0211, allocations: 46.17 kB / 336.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.02236, allocations: 0.6847 MB / 337.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.02252, allocations: 160 kB / 337.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.89e-05/0.02261, allocations: 24.3 kB / 337.6 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.02267, allocations: 24.16 kB / 337.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02267, allocations: 0 / 337.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of Templates: time 0.005724/0.02839, allocations: 1.804 MB / 339.4 MB, free: 6.176 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.418020874261856]