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.001059/0.001059, allocations: 114.4 kB / 17.69 MB, free: 5.309 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.001033/0.001033, allocations: 191 kB / 18.63 MB, free: 4.375 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.297/1.297, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009929/0.000993, allocations: 43.09 kB / 302.1 MB, free: 5.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.08802, allocations: 49.43 MB / 351.5 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004606/0.09267, allocations: 3.691 MB / 355.2 MB, free: 68 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.09481, allocations: 1.437 MB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.09498, allocations: 12 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.09663, allocations: 0.7416 MB / 357.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009817/0.09762, allocations: 0.5398 MB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.09837, allocations: 437.9 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.0988, allocations: 458 kB / 358.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.09945, allocations: 473.8 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.09972, allocations: 211.2 kB / 359.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1, allocations: 271 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.1001, allocations: 44 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1004, allocations: 215.8 kB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.1005, allocations: 99.67 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1007, allocations: 242.8 kB / 360.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006567/0.1014, allocations: 0.6931 MB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1014, allocations: 8 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1014, allocations: 0 / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1014, allocations: 0 / 361 MB, free: 10.22 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.001949/0.1034, allocations: 0.9093 MB / 361.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1034, allocations: 15.89 kB / 361.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/0.1069, allocations: 495.9 kB / 362.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1074, allocations: 299.7 kB / 362.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.1074, allocations: 41.69 kB / 362.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.1075, allocations: 60.25 kB / 362.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.1084, allocations: 0.5259 MB / 363.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1084, allocations: 4 kB / 363.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.1085, allocations: 27.94 kB / 363.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1085, allocations: 12 kB / 363.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.1095, allocations: 0.5751 MB / 364 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.1122, allocations: 1.867 MB / 365.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.1141, allocations: 2.171 MB / 368 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.1146, allocations: 262.1 kB / 368.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.1147, allocations: 93.53 kB / 368.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1147, allocations: 35 kB / 368.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.755e-06/0.1148, allocations: 0 / 368.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002181/0.117, allocations: 0.7503 MB / 369.1 MB, free: 1.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.117, allocations: 55.84 kB / 369.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1172, allocations: 190.8 kB / 369.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.1172, allocations: 29.7 kB / 369.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1173, allocations: 216.5 kB / 369.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.987e-05/0.1174, allocations: 161.6 kB / 369.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1176, allocations: 86.16 kB / 369.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1177, allocations: 338.8 kB / 370.2 MB, free: 368 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.118, allocations: 149.1 kB / 370.3 MB, free: 220 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1474/0.2654, allocations: 234.2 kB / 370.6 MB, free: 25.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.2661, allocations: 416.3 kB / 371 MB, free: 25.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2662, allocations: 1.688 kB / 371 MB, free: 25.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001002/0.2672, allocations: 0.5347 MB / 371.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2672, allocations: 7.5 kB / 371.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2672, allocations: 7.359 kB / 371.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/0.2676, allocations: 79.92 kB / 371.6 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.268, allocations: 100.4 kB / 371.7 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.2695, allocations: 1.77 MB / 373.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.2698, allocations: 46.03 kB / 373.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.2698, allocations: 21.39 kB / 373.5 MB, free: 23.95 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.0001767/0.27, allocations: 173.1 kB / 373.7 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.2701, allocations: 25.84 kB / 373.7 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.2712, allocations: 0.5442 MB / 374.3 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2712, allocations: 5.672 kB / 374.3 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2712, allocations: 6.75 kB / 374.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2712, allocations: 2.156 kB / 374.3 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.2729, allocations: 1.142 MB / 375.4 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2729, allocations: 1.594 kB / 375.4 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.2732, allocations: 80.84 kB / 375.5 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/0.2735, allocations: 83.23 kB / 375.6 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.2735, allocations: 13.27 kB / 375.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.2748, allocations: 1.768 MB / 377.4 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2748, allocations: 0.8438 kB / 377.4 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2759, allocations: 0.7994 MB / 378.2 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.276, allocations: 112.2 kB / 378.3 MB, free: 20.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.276, allocations: 7.172 kB / 378.3 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2763, allocations: 20.3 kB / 378.3 MB, free: 20.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.2764, allocations: 38.61 kB / 378.3 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.2764, allocations: 14.59 kB / 378.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.2765, allocations: 134.6 kB / 378.5 MB, free: 20.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2765, allocations: 3.625 kB / 378.5 MB, free: 20.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.277, allocations: 150.9 kB / 378.6 MB, free: 20.6 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.000221/0.2772, allocations: 138.5 kB / 378.8 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009454/0.2782, allocations: 0.5678 MB / 379.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2782, allocations: 1.031 kB / 379.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.2787, allocations: 379.1 kB / 379.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.279, allocations: 35.8 kB / 379.7 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2801, allocations: 0.804 MB / 380.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.2804, allocations: 0.8041 MB / 381.4 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.2806, allocations: 51.84 kB / 381.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.2807, allocations: 35.08 kB / 381.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2807, allocations: 0 / 381.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of Templates: time 0.00836/0.289, allocations: 4.261 MB / 385.7 MB, free: 18.51 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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