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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001161, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 55.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4005, allocations: 50.55 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.005193/0.4058, allocations: 2.908 MB / 412.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4079, allocations: 0.7049 MB / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.4081, allocations: 4 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.4085, allocations: 71.36 kB / 413 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.4087, allocations: 79.2 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.4091, allocations: 91.88 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.4095, allocations: 382.8 kB / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.4099, allocations: 168.4 kB / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.4102, allocations: 159.4 kB / 413.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.4105, allocations: 155.3 kB / 414 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.4105, allocations: 36 kB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5e-05/0.4106, allocations: 32 kB / 414 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.4106, allocations: 75.75 kB / 414.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.4108, allocations: 183.1 kB / 414.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.4113, allocations: 379.8 kB / 414.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4113, allocations: 0 / 414.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4113, allocations: 0 / 414.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.4113, allocations: 0 / 414.7 MB, free: 12.19 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.001187/0.4125, allocations: 0.6238 MB / 415.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.4126, allocations: 8.031 kB / 415.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.4127, allocations: 36.56 kB / 415.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.4134, allocations: 263.7 kB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.4134, allocations: 25.03 kB / 415.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.4135, allocations: 36.38 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.4141, allocations: 282.4 kB / 415.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4141, allocations: 4 kB / 415.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.4142, allocations: 8 kB / 415.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.4142, allocations: 8 kB / 415.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.4147, allocations: 214.5 kB / 416.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.4163, allocations: 1.022 MB / 417.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.4167, allocations: 158.5 kB / 417.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.417, allocations: 128.8 kB / 417.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.4171, allocations: 7.938 kB / 417.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.4171, allocations: 38.56 kB / 417.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.4171, allocations: 0 / 417.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006355/0.4178, allocations: 231.5 kB / 417.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.4179, allocations: 55.41 kB / 417.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.4181, allocations: 211.1 kB / 418 MB, free: 8.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.4181, allocations: 33.7 kB / 418 MB, free: 8.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.4183, allocations: 196 kB / 418.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.4184, allocations: 66.92 kB / 418.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.4185, allocations: 53.98 kB / 418.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4186, allocations: 330.8 kB / 418.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4188, allocations: 68.52 kB / 418.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.419, allocations: 139.4 kB / 418.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.4194, allocations: 225.2 kB / 419.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4194, allocations: 0 / 419.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005238/0.42, allocations: 284.8 kB / 419.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.42, allocations: 8 kB / 419.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.42, allocations: 3.938 kB / 419.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.4201, allocations: 4 kB / 419.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.4204, allocations: 71.89 kB / 419.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4204, allocations: 4.25 kB / 419.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.4206, allocations: 39.72 kB / 419.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.4206, allocations: 15.98 kB / 419.5 MB, free: 7.039 MB / 334.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.0001711/0.4208, allocations: 137.8 kB / 419.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.4209, allocations: 23.75 kB / 419.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.4213, allocations: 202.9 kB / 419.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4214, allocations: 0 / 419.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4214, allocations: 12 kB / 419.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4214, allocations: 0 / 419.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.4222, allocations: 0.6013 MB / 420.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4223, allocations: 0 / 420.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.4225, allocations: 51.97 kB / 420.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.4226, allocations: 8.062 kB / 420.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.4226, allocations: 7.938 kB / 420.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4226, allocations: 4 kB / 420.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4226, allocations: 0 / 420.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.4232, allocations: 380.1 kB / 420.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.4233, allocations: 96.77 kB / 421 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4234, allocations: 8.062 kB / 421 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.4235, allocations: 15.98 kB / 421 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.4236, allocations: 19.91 kB / 421 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4236, allocations: 8 kB / 421 MB, free: 5.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4238, allocations: 148.7 kB / 421.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4238, allocations: 4 kB / 421.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.4242, allocations: 83.62 kB / 421.3 MB, free: 5.133 MB / 334.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.0001864/0.4244, allocations: 99.25 kB / 421.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.4248, allocations: 179.7 kB / 421.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4248, allocations: 0.5 kB / 421.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.425, allocations: 91.84 kB / 421.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4254, allocations: 24.61 kB / 421.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4269, allocations: 0.84 MB / 422.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.4274, allocations: 0.7675 MB / 423.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.526e-05/0.4275, allocations: 25.94 kB / 423.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.4275, allocations: 19.44 kB / 423.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4275, allocations: 0 / 423.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Templates: time 0.005907/0.4335, allocations: 2.085 MB / 425.4 MB, free: 0.957 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (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) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches