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.001147/0.001147, allocations: 105.4 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.75 kB / 306.4 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1046, allocations: 50.53 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004069/0.1087, allocations: 2.956 MB / 359.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.11, allocations: 0.6972 MB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1101, allocations: 8 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.1104, allocations: 43.62 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1105, allocations: 83.38 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1108, allocations: 71.94 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1112, allocations: 382.9 kB / 361.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.1115, allocations: 172.5 kB / 361.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.1118, allocations: 143.5 kB / 361.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1119, allocations: 163.2 kB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.112, allocations: 36 kB / 361.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-05/0.1121, allocations: 32 kB / 361.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.1121, allocations: 75.7 kB / 361.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1123, allocations: 175.2 kB / 362 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.1126, allocations: 378.9 kB / 362.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1126, allocations: 0 / 362.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1127, allocations: 0 / 362.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1127, allocations: 0 / 362.3 MB, free: 8.793 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.0009191/0.1136, allocations: 0.6238 MB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1136, allocations: 8.031 kB / 363 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.1137, allocations: 36.47 kB / 363 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.114, allocations: 263.8 kB / 363.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.114, allocations: 21.03 kB / 363.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.1141, allocations: 40.3 kB / 363.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.1147, allocations: 286.4 kB / 363.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1147, allocations: 0 / 363.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.1147, allocations: 15.94 kB / 363.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1147, allocations: 8 kB / 363.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.1152, allocations: 214.5 kB / 363.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.1167, allocations: 1.026 MB / 364.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1171, allocations: 162.5 kB / 365 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.1174, allocations: 128.8 kB / 365.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1174, allocations: 3.938 kB / 365.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1174, allocations: 42.56 kB / 365.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 3.576e-06/0.1174, allocations: 0 / 365.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005856/0.118, allocations: 228 kB / 365.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1181, allocations: 55.41 kB / 365.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.1183, allocations: 215 kB / 365.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1183, allocations: 29.7 kB / 365.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1185, allocations: 204 kB / 365.9 MB, free: 5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.1185, allocations: 66.95 kB / 366 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.1186, allocations: 49.98 kB / 366 MB, free: 4.879 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1188, allocations: 330.8 kB / 366.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1189, allocations: 68.52 kB / 366.4 MB, free: 4.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1192, allocations: 143.4 kB / 366.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.1196, allocations: 225.2 kB / 366.8 MB, free: 4.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1196, allocations: 4 kB / 366.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000469/0.1201, allocations: 277 kB / 367.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1201, allocations: 4 kB / 367.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.1202, allocations: 4 kB / 367.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1202, allocations: 4 kB / 367.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.1205, allocations: 72.14 kB / 367.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1205, allocations: 8 kB / 367.1 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1207, allocations: 27.73 kB / 367.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1207, allocations: 19.94 kB / 367.2 MB, free: 3.637 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.0001306/0.1208, allocations: 145.7 kB / 367.3 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.1209, allocations: 19.75 kB / 367.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.1213, allocations: 208 kB / 367.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1213, allocations: 4 kB / 367.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1214, allocations: 48 / 367.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1214, allocations: 7.969 kB / 367.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.1223, allocations: 0.5974 MB / 368.2 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1224, allocations: 3.938 kB / 368.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.1226, allocations: 59.97 kB / 368.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1227, allocations: 0 / 368.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1227, allocations: 8 kB / 368.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1227, allocations: 3.984 kB / 368.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1227, allocations: 4 kB / 368.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.1233, allocations: 373.9 kB / 368.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1234, allocations: 92.92 kB / 368.7 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.1234, allocations: 8.047 kB / 368.7 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1236, allocations: 16 kB / 368.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.1237, allocations: 15.91 kB / 368.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1237, allocations: 12 kB / 368.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1238, allocations: 152.7 kB / 368.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1238, allocations: 0 / 368.9 MB, free: 1.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.1242, allocations: 83.62 kB / 369 MB, free: 1.727 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.0001525/0.1243, allocations: 107.4 kB / 369.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.1248, allocations: 176.2 kB / 369.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1248, allocations: 4 kB / 369.3 MB, free: 1.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.1249, allocations: 83.83 kB / 369.3 MB, free: 1.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.1254, allocations: 28.66 kB / 369.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1271, allocations: 0.9767 MB / 370.3 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1787/0.3058, allocations: 0.7582 MB / 371.1 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.306, allocations: 21.61 kB / 371.1 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.306, allocations: 22.19 kB / 371.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of SimCode: time 7.12e-07/0.306, allocations: 0 / 371.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of Templates: time 0.006466/0.3125, allocations: 1.994 MB / 373.1 MB, free: 19.39 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/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