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.0008525/0.0008528, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009337/0.0009338, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.000328, allocations: 4 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 51.52 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003123/0.1049, allocations: 2.57 MB / 361.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1063, allocations: 0.6933 MB / 362.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.1066, allocations: 4 kB / 362.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1068, allocations: 51.61 kB / 362.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.107, allocations: 75.39 kB / 362.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1073, allocations: 79.92 kB / 362.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.1077, allocations: 362.9 kB / 363.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.108, allocations: 144.9 kB / 363.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1083, allocations: 123.5 kB / 363.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1085, allocations: 131.3 kB / 363.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.1085, allocations: 16 kB / 363.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.1086, allocations: 16 kB / 363.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1086, allocations: 59.75 kB / 363.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1088, allocations: 172.9 kB / 363.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.1091, allocations: 362.8 kB / 364.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1091, allocations: 0 / 364.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1091, allocations: 0 / 364.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1091, allocations: 0 / 364.1 MB, free: 8.414 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.0008949/0.11, allocations: 0.5693 MB / 364.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1101, allocations: 8.031 kB / 364.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.1102, allocations: 36.56 kB / 364.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1105, allocations: 263.7 kB / 365 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.1106, allocations: 25.03 kB / 365 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.1106, allocations: 44.3 kB / 365 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.1112, allocations: 290.3 kB / 365.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1112, allocations: 0 / 365.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.1113, allocations: 16 kB / 365.3 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1113, allocations: 8 kB / 365.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.1118, allocations: 222.5 kB / 365.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1135, allocations: 1.041 MB / 366.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.1139, allocations: 162.6 kB / 366.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.1142, allocations: 132.1 kB / 366.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.1143, allocations: 7.938 kB / 366.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.1143, allocations: 34.5 kB / 366.9 MB, free: 5.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.704e-06/0.1143, allocations: 4 kB / 366.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006387/0.115, allocations: 236.6 kB / 367.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.115, allocations: 59.41 kB / 367.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.1153, allocations: 215.1 kB / 367.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1153, allocations: 33.64 kB / 367.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1154, allocations: 192 kB / 367.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.1155, allocations: 78.84 kB / 367.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.1156, allocations: 25.72 kB / 367.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1157, allocations: 330.8 kB / 368.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.1159, allocations: 76.52 kB / 368.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1162, allocations: 151.2 kB / 368.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.1166, allocations: 233.3 kB / 368.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1166, allocations: 0 / 368.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005278/0.1171, allocations: 289.1 kB / 368.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1171, allocations: 4 kB / 368.8 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1172, allocations: 4 kB / 368.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1172, allocations: 4 kB / 368.8 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1175, allocations: 76.14 kB / 368.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1175, allocations: 4 kB / 368.9 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1177, allocations: 27.83 kB / 368.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1177, allocations: 16 kB / 368.9 MB, free: 3.258 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.0001435/0.1179, allocations: 141.7 kB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.1179, allocations: 23.66 kB / 369.1 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.1184, allocations: 222.8 kB / 369.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1184, allocations: 4 kB / 369.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1184, allocations: 0 / 369.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1184, allocations: 3.984 kB / 369.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/0.1193, allocations: 0.613 MB / 369.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1193, allocations: 0 / 369.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.1196, allocations: 75.91 kB / 370 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1196, allocations: 0 / 370 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.1196, allocations: 4 kB / 370 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1197, allocations: 3.984 kB / 370 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1197, allocations: 0 / 370 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.1203, allocations: 397.2 kB / 370.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.1204, allocations: 96.89 kB / 370.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1205, allocations: 7.984 kB / 370.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1207, allocations: 20 kB / 370.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1207, allocations: 15.97 kB / 370.5 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1207, allocations: 8 kB / 370.6 MB, free: 1.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1209, allocations: 152.6 kB / 370.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1209, allocations: 0 / 370.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.1213, allocations: 83.62 kB / 370.8 MB, free: 1.289 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.0001461/0.1214, allocations: 115.3 kB / 370.9 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.1219, allocations: 179.8 kB / 371.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1219, allocations: 0.5 kB / 371.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.1221, allocations: 102.6 kB / 371.2 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1225, allocations: 20.67 kB / 371.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2231/0.3456, allocations: 1.072 MB / 372.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.3461, allocations: 0.7649 MB / 373 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.3463, allocations: 23.45 kB / 373.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.3464, allocations: 24.86 kB / 373.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3464, allocations: 3.844 kB / 373.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of Templates: time 0.007266/0.3537, allocations: 1.884 MB / 375 MB, free: 18.38 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