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.0009186/0.0009188, allocations: 98.28 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 203.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002233/0.0002233, allocations: 8 kB / 308.4 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09329, allocations: 51.52 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002981/0.09631, allocations: 2.567 MB / 362.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.09765, allocations: 0.6973 MB / 363.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.09788, allocations: 8 kB / 363.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.09808, allocations: 47.61 kB / 363.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.09832, allocations: 75.38 kB / 363.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.09859, allocations: 79.94 kB / 363.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.09899, allocations: 362.9 kB / 363.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.09927, allocations: 144.9 kB / 363.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.09954, allocations: 119.6 kB / 364 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.09973, allocations: 143.3 kB / 364.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.09978, allocations: 16 kB / 364.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.213e-05/0.09983, allocations: 16 kB / 364.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.09989, allocations: 51.77 kB / 364.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1, allocations: 180.8 kB / 364.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1004, allocations: 275.4 kB / 364.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1004, allocations: 0 / 364.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1004, allocations: 0 / 364.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1004, allocations: 0 / 364.7 MB, free: 8.469 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.0008954/0.1013, allocations: 0.5693 MB / 365.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1013, allocations: 8.031 kB / 365.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.1014, allocations: 40.56 kB / 365.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.1018, allocations: 271.6 kB / 365.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1018, allocations: 21.03 kB / 365.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.1019, allocations: 36.38 kB / 365.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.1024, allocations: 286.4 kB / 365.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1025, allocations: 0 / 365.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1025, allocations: 19.92 kB / 365.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1025, allocations: 8 kB / 365.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.103, allocations: 226.5 kB / 366.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.1046, allocations: 1.038 MB / 367.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1049, allocations: 158.5 kB / 367.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.1052, allocations: 132.8 kB / 367.5 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1052, allocations: 7.938 kB / 367.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1053, allocations: 38.55 kB / 367.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.1053, allocations: 0 / 367.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005837/0.1059, allocations: 240.1 kB / 367.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1059, allocations: 55.41 kB / 367.8 MB, free: 5.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1061, allocations: 215.1 kB / 368 MB, free: 4.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1062, allocations: 33.7 kB / 368 MB, free: 4.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1063, allocations: 188 kB / 368.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.1064, allocations: 78.83 kB / 368.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.1064, allocations: 33.7 kB / 368.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1066, allocations: 330.8 kB / 368.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1067, allocations: 72.52 kB / 368.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.107, allocations: 159.2 kB / 368.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.1074, allocations: 233.2 kB / 369.1 MB, free: 3.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1074, allocations: 0 / 369.1 MB, free: 3.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005213/0.1079, allocations: 289.2 kB / 369.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1079, allocations: 4 kB / 369.4 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.108, allocations: 4 kB / 369.4 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.108, allocations: 7.984 kB / 369.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.1083, allocations: 71.91 kB / 369.5 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1083, allocations: 7.938 kB / 369.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.1085, allocations: 27.83 kB / 369.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1085, allocations: 12.09 kB / 369.5 MB, free: 3.305 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.0001453/0.1087, allocations: 149.7 kB / 369.7 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1087, allocations: 23.66 kB / 369.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.1092, allocations: 217.4 kB / 369.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1092, allocations: 4 kB / 369.9 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1092, allocations: 3.984 kB / 369.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1092, allocations: 0 / 369.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.11, allocations: 0.6091 MB / 370.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1101, allocations: 0 / 370.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.1103, allocations: 59.84 kB / 370.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.1104, allocations: 7.984 kB / 370.6 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1104, allocations: 8 kB / 370.6 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1104, allocations: 4 kB / 370.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1104, allocations: 0 / 370.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.111, allocations: 393.3 kB / 371 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.1111, allocations: 100.8 kB / 371.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.1111, allocations: 8.062 kB / 371.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.1113, allocations: 15.98 kB / 371.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1114, allocations: 15.92 kB / 371.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1114, allocations: 8 kB / 371.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1116, allocations: 164.6 kB / 371.3 MB, free: 1.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 0 / 371.3 MB, free: 1.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.1119, allocations: 83.62 kB / 371.4 MB, free: 1.332 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.0001322/0.1121, allocations: 99.25 kB / 371.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004345/0.1125, allocations: 183.9 kB / 371.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1125, allocations: 0 / 371.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.1127, allocations: 90.12 kB / 371.7 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1131, allocations: 33.09 kB / 371.8 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1492/0.2623, allocations: 1.099 MB / 372.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2626, allocations: 0.7676 MB / 373.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.2627, allocations: 25.17 kB / 373.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2627, allocations: 0 / 373.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of Templates: time 0.006055/0.2688, allocations: 2.909 MB / 376.6 MB, free: 18.28 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches