Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009813/0.0009813, allocations: 99.3 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003375, allocations: 8 kB / 360.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 51.4 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002902/0.3019, allocations: 2.478 MB / 414.5 MB, free: 23.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3032, allocations: 0.8177 MB / 415.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.3034, allocations: 11.94 kB / 415.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.3037, allocations: 50.52 kB / 415.4 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.3038, allocations: 75.38 kB / 415.5 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.3042, allocations: 75.94 kB / 415.6 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.3046, allocations: 361.7 kB / 415.9 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.3049, allocations: 152.8 kB / 416.1 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.3052, allocations: 111.6 kB / 416.2 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3054, allocations: 143.2 kB / 416.3 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.3054, allocations: 16 kB / 416.3 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.427e-05/0.3055, allocations: 20 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.3055, allocations: 55.7 kB / 416.4 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3057, allocations: 164.9 kB / 416.6 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.306, allocations: 360.1 kB / 416.9 MB, free: 21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.306, allocations: 4 kB / 416.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.306, allocations: 0 / 416.9 MB, free: 20.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.3061, allocations: 4 kB / 416.9 MB, free: 20.99 MB / 298.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.0008962/0.307, allocations: 0.5654 MB / 417.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.307, allocations: 12.03 kB / 417.5 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.3071, allocations: 32.56 kB / 417.5 MB, free: 20.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.3074, allocations: 263.7 kB / 417.8 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3074, allocations: 21.03 kB / 417.8 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.3075, allocations: 36.36 kB / 417.8 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.3079, allocations: 286.4 kB / 418.1 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.308, allocations: 4 kB / 418.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.308, allocations: 8 kB / 418.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.308, allocations: 12 kB / 418.1 MB, free: 19.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.3085, allocations: 230.4 kB / 418.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.3098, allocations: 1.03 MB / 419.4 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.3101, allocations: 162.5 kB / 419.6 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3104, allocations: 136.8 kB / 419.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.3104, allocations: 3.938 kB / 419.7 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3105, allocations: 38.5 kB / 419.7 MB, free: 17.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.903e-06/0.3105, allocations: 4 kB / 419.7 MB, free: 17.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005936/0.3111, allocations: 246.7 kB / 420 MB, free: 17.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3111, allocations: 55.41 kB / 420 MB, free: 17.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3113, allocations: 211.1 kB / 420.2 MB, free: 17.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3113, allocations: 29.7 kB / 420.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.3114, allocations: 196 kB / 420.5 MB, free: 17.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.3115, allocations: 74.89 kB / 420.5 MB, free: 17.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.3115, allocations: 11.94 kB / 420.5 MB, free: 17.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.3116, allocations: 330.8 kB / 420.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.3118, allocations: 72.52 kB / 420.9 MB, free: 16.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3119, allocations: 146.5 kB / 421.1 MB, free: 16.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.3123, allocations: 233.2 kB / 421.3 MB, free: 16.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3123, allocations: 0 / 421.3 MB, free: 16.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004166/0.3127, allocations: 273.1 kB / 421.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3127, allocations: 11.94 kB / 421.6 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3127, allocations: 0 / 421.6 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3128, allocations: 4 kB / 421.6 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.3131, allocations: 79.89 kB / 421.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3131, allocations: 12.19 kB / 421.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3132, allocations: 35.67 kB / 421.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3133, allocations: 8 kB / 421.7 MB, free: 15.88 MB / 298.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.0001089/0.3134, allocations: 141.8 kB / 421.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.3134, allocations: 27.66 kB / 421.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.3138, allocations: 213.6 kB / 422.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3138, allocations: 4 kB / 422.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3138, allocations: 0 / 422.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3138, allocations: 3.984 kB / 422.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.3145, allocations: 0.612 MB / 422.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3145, allocations: 0 / 422.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.3148, allocations: 55.97 kB / 422.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3148, allocations: 3.938 kB / 422.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3148, allocations: 11.98 kB / 422.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3148, allocations: 4.062 kB / 422.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3149, allocations: 0 / 422.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.3154, allocations: 386.6 kB / 423.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3154, allocations: 104.8 kB / 423.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3155, allocations: 8.062 kB / 423.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3156, allocations: 15.98 kB / 423.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.3157, allocations: 19.92 kB / 423.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3157, allocations: 8.125 kB / 423.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.3158, allocations: 156.6 kB / 423.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3158, allocations: 0 / 423.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.3162, allocations: 79.72 kB / 423.5 MB, free: 13.93 MB / 298.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.0001394/0.3163, allocations: 115.4 kB / 423.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.3167, allocations: 183.7 kB / 423.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3167, allocations: 0 / 423.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.3169, allocations: 88.52 kB / 423.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3173, allocations: 32.59 kB / 424 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.3186, allocations: 1.084 MB / 425 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3188, allocations: 0.7675 MB / 425.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.3189, allocations: 25.94 kB / 425.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.319, allocations: 23.44 kB / 425.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.319, allocations: 0 / 425.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Templates: time 0.004741/0.3238, allocations: 1.89 MB / 427.8 MB, free: 9.664 MB / 298.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches