Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 65.25 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1049, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004524/0.1095, allocations: 2.903 MB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1109, allocations: 0.7205 MB / 362.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1111, allocations: 11.94 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1113, allocations: 51.44 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1115, allocations: 91.19 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1117, allocations: 95.81 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.1122, allocations: 378.9 kB / 362.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.1125, allocations: 164.5 kB / 362.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1128, allocations: 151.5 kB / 363 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.113, allocations: 155.3 kB / 363.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.113, allocations: 32 kB / 363.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-05/0.1131, allocations: 32 kB / 363.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.1132, allocations: 83.69 kB / 363.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.1134, allocations: 171.1 kB / 363.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.1138, allocations: 386.9 kB / 363.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1138, allocations: 0 / 363.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1138, allocations: 0 / 363.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1138, allocations: 0 / 363.8 MB, free: 8.516 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.001056/0.1149, allocations: 0.6199 MB / 364.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1149, allocations: 12.03 kB / 364.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.115, allocations: 36.47 kB / 364.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1153, allocations: 251.8 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1153, allocations: 29.03 kB / 364.8 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.1154, allocations: 32.36 kB / 364.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.1159, allocations: 286.4 kB / 365.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.116, allocations: 0 / 365.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.116, allocations: 16 kB / 365.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.116, allocations: 4 kB / 365.1 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.1165, allocations: 218.4 kB / 365.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.1181, allocations: 1.034 MB / 366.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1185, allocations: 164.9 kB / 366.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.1188, allocations: 124.8 kB / 366.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1189, allocations: 7.938 kB / 366.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1189, allocations: 42.55 kB / 366.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.1189, allocations: 0 / 366.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000593/0.1195, allocations: 217.7 kB / 366.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1196, allocations: 51.41 kB / 366.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.1198, allocations: 227 kB / 367.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.1199, allocations: 29.64 kB / 367.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.12, allocations: 192 kB / 367.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.1201, allocations: 78.92 kB / 367.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.1202, allocations: 49.98 kB / 367.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1203, allocations: 330.8 kB / 367.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1205, allocations: 64.53 kB / 367.9 MB, free: 4.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.1208, allocations: 147.4 kB / 368 MB, free: 4.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.1212, allocations: 225.2 kB / 368.2 MB, free: 3.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1212, allocations: 0 / 368.2 MB, free: 3.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005204/0.1217, allocations: 273 kB / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1217, allocations: 10.5 kB / 368.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1218, allocations: 4 kB / 368.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1218, allocations: 4 kB / 368.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.1221, allocations: 71.84 kB / 368.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.1221, allocations: 12.23 kB / 368.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1223, allocations: 27.75 kB / 368.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1223, allocations: 8 kB / 368.6 MB, free: 3.375 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.0001561/0.1225, allocations: 145.7 kB / 368.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1225, allocations: 27.73 kB / 368.8 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.123, allocations: 202.2 kB / 369 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.1231, allocations: 12 kB / 369 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1231, allocations: 3.938 kB / 369 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1231, allocations: 0 / 369 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.1239, allocations: 0.5999 MB / 369.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.124, allocations: 0 / 369.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.1242, allocations: 59.95 kB / 369.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1243, allocations: 4.062 kB / 369.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1243, allocations: 8 kB / 369.7 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1243, allocations: 3.938 kB / 369.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1243, allocations: 0 / 369.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.1249, allocations: 370.9 kB / 370.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.125, allocations: 101 kB / 370.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.125, allocations: 3.938 kB / 370.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.1252, allocations: 15.98 kB / 370.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1253, allocations: 15.98 kB / 370.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1253, allocations: 4 kB / 370.2 MB, free: 1.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1255, allocations: 160.6 kB / 370.4 MB, free: 1.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1255, allocations: 4 kB / 370.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.1258, allocations: 79.62 kB / 370.4 MB, free: 1.461 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.0001495/0.126, allocations: 107.3 kB / 370.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.1264, allocations: 184.2 kB / 370.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1265, allocations: 4 kB / 370.7 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1266, allocations: 75.91 kB / 370.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.127, allocations: 28.66 kB / 370.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1285, allocations: 0.873 MB / 371.7 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1409/0.2693, allocations: 0.7618 MB / 372.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2695, allocations: 22.14 kB / 372.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of SimCode: time 4.8e-07/0.2695, allocations: 3.828 kB / 372.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of Templates: time 0.006308/0.2758, allocations: 2.959 MB / 375.4 MB, free: 19.19 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches