Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 103.3 kB / 16.51 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 13.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 43.39 kB / 299.9 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08418, allocations: 49.46 MB / 349.4 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004616/0.08883, allocations: 3.709 MB / 353.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.09117, allocations: 1.417 MB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.09135, allocations: 8 kB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.09295, allocations: 0.7161 MB / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009896/0.09395, allocations: 0.4901 MB / 355.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.09475, allocations: 413.6 kB / 356.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.09519, allocations: 442 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006655/0.09587, allocations: 430.4 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.09615, allocations: 207.2 kB / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.09642, allocations: 266.9 kB / 357.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.09648, allocations: 32 kB / 357.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.09685, allocations: 191.9 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.09694, allocations: 103.6 kB / 357.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.09713, allocations: 226.9 kB / 358 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.09777, allocations: 0.6775 MB / 358.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09779, allocations: 0 / 358.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0978, allocations: 0 / 358.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.09781, allocations: 0 / 358.7 MB, free: 11.32 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002062/0.09987, allocations: 0.9131 MB / 359.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.09992, allocations: 8.031 kB / 359.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.1035, allocations: 491.9 kB / 360.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1039, allocations: 311.7 kB / 360.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.1039, allocations: 45.62 kB / 360.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.104, allocations: 48.38 kB / 360.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009541/0.1049, allocations: 0.5337 MB / 361 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.105, allocations: 0 / 361 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.105, allocations: 24 kB / 361 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1051, allocations: 12 kB / 361.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1061, allocations: 0.5712 MB / 361.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.1088, allocations: 1.886 MB / 363.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.1107, allocations: 2.162 MB / 365.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1111, allocations: 266 kB / 365.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.1112, allocations: 85.55 kB / 366 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1112, allocations: 39 kB / 366.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.1112, allocations: 0 / 366.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001677/0.1129, allocations: 0.7503 MB / 366.8 MB, free: 2.559 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.113, allocations: 55.84 kB / 366.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1131, allocations: 182.3 kB / 367 MB, free: 2.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1132, allocations: 41.7 kB / 367.1 MB, free: 2.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1133, allocations: 216.5 kB / 367.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1134, allocations: 157.6 kB / 367.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1135, allocations: 90.16 kB / 367.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1136, allocations: 334.8 kB / 367.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.1139, allocations: 149 kB / 368 MB, free: 1.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.1143, allocations: 246.4 kB / 368.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.1149, allocations: 420.8 kB / 368.7 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1149, allocations: 3.938 kB / 368.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009527/0.1159, allocations: 0.5354 MB / 369.2 MB, free: 48 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1159, allocations: 4 kB / 369.2 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1159, allocations: 8.281 kB / 369.2 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1385/0.2544, allocations: 74.45 kB / 369.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2549, allocations: 97.5 kB / 369.4 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.2563, allocations: 1.636 MB / 371 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.2566, allocations: 47.08 kB / 371.1 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.2567, allocations: 20.2 kB / 371.1 MB, free: 24.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.2568, allocations: 170.8 kB / 371.2 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.2569, allocations: 26.11 kB / 371.3 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.258, allocations: 0.5459 MB / 371.8 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.258, allocations: 5.234 kB / 371.8 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.258, allocations: 2.375 kB / 371.8 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.258, allocations: 2.344 kB / 371.8 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.2596, allocations: 1.143 MB / 373 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2596, allocations: 1.969 kB / 373 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.2599, allocations: 83.66 kB / 373 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.2602, allocations: 77.72 kB / 373.1 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.2602, allocations: 16.59 kB / 373.1 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.2614, allocations: 1.644 MB / 374.8 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2615, allocations: 8.469 kB / 374.8 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.2626, allocations: 0.7944 MB / 375.6 MB, free: 21.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.2627, allocations: 115.8 kB / 375.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.2627, allocations: 7.969 kB / 375.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.263, allocations: 23.3 kB / 375.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.2631, allocations: 34.27 kB / 375.8 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.2631, allocations: 19.09 kB / 375.8 MB, free: 21.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.83e-05/0.2632, allocations: 133.5 kB / 375.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2632, allocations: 0 / 375.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.2637, allocations: 146.6 kB / 376.1 MB, free: 21.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.2639, allocations: 146.2 kB / 376.2 MB, free: 21.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000913/0.2648, allocations: 0.5638 MB / 376.8 MB, free: 20.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2648, allocations: 0 / 376.8 MB, free: 20.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.2653, allocations: 385.3 kB / 377.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.2657, allocations: 40.36 kB / 377.2 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2668, allocations: 1.022 MB / 378.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2671, allocations: 0.8106 MB / 379 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002079/0.2673, allocations: 45.48 kB / 379.1 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.2674, allocations: 33.53 kB / 379.1 MB, free: 19.2 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2674, allocations: 1.219 kB / 379.1 MB, free: 19.2 MB / 302.1 MB Notification: Performance of Templates: time 0.007716/0.2751, allocations: 4.06 MB / 383.1 MB, free: 18.9 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches