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.001099/0.001099, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001181/0.001181, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.281/1.281, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009605/0.0009606, allocations: 47.53 kB / 300.6 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1068, allocations: 49.45 MB / 350.1 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005162/0.112, allocations: 3.684 MB / 353.7 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.1142, allocations: 1.429 MB / 355.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1144, allocations: 8 kB / 355.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.1161, allocations: 0.7529 MB / 355.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.1171, allocations: 0.5477 MB / 356.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007707/0.1179, allocations: 426.5 kB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.1184, allocations: 466 kB / 357.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.1191, allocations: 462.1 kB / 357.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.1194, allocations: 215.2 kB / 358 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.1197, allocations: 274.9 kB / 358.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.1198, allocations: 44 kB / 358.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.1202, allocations: 207.9 kB / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.1203, allocations: 111.6 kB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1205, allocations: 230.9 kB / 358.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.1213, allocations: 0.6853 MB / 359.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1213, allocations: 8 kB / 359.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1213, allocations: 0 / 359.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1213, allocations: 0 / 359.6 MB, free: 10.9 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.002126/0.1235, allocations: 0.9092 MB / 360.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1235, allocations: 15.89 kB / 360.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.1268, allocations: 499.9 kB / 361 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.1272, allocations: 299.7 kB / 361.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.1272, allocations: 45.62 kB / 361.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.1273, allocations: 52.38 kB / 361.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00089/0.1282, allocations: 0.5259 MB / 361.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1282, allocations: 3.984 kB / 361.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.1283, allocations: 28 kB / 361.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1283, allocations: 12 kB / 361.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009641/0.1293, allocations: 0.5712 MB / 362.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.1319, allocations: 1.886 MB / 364.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.1339, allocations: 2.167 MB / 366.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.1343, allocations: 266 kB / 366.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/0.1344, allocations: 89.53 kB / 366.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1345, allocations: 35 kB / 366.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 3.507e-06/0.1345, allocations: 0 / 366.9 MB, free: 2.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001684/0.1362, allocations: 0.7503 MB / 367.7 MB, free: 2.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1362, allocations: 55.84 kB / 367.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1364, allocations: 190.8 kB / 367.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1364, allocations: 29.7 kB / 368 MB, free: 1.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1365, allocations: 220.5 kB / 368.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1367, allocations: 161.6 kB / 368.3 MB, free: 1.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1368, allocations: 90.16 kB / 368.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1369, allocations: 334.8 kB / 368.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.1372, allocations: 153 kB / 368.9 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.1375, allocations: 246.4 kB / 369.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.1382, allocations: 412.8 kB / 369.5 MB, free: 176 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1382, allocations: 0 / 369.5 MB, free: 176 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1408/0.279, allocations: 0.5319 MB / 370.1 MB, free: 25.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.279, allocations: 6 kB / 370.1 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.279, allocations: 2 kB / 370.1 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.2794, allocations: 79.77 kB / 370.1 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.2798, allocations: 100.5 kB / 370.2 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.2814, allocations: 1.768 MB / 372 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.2817, allocations: 48.61 kB / 372.1 MB, free: 24.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.2817, allocations: 19.25 kB / 372.1 MB, free: 24.02 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.000177/0.2819, allocations: 169.2 kB / 372.2 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.282, allocations: 24.84 kB / 372.3 MB, free: 23.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.283, allocations: 0.5437 MB / 372.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2831, allocations: 9.5 kB / 372.8 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2831, allocations: 5.406 kB / 372.8 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2831, allocations: 2.625 kB / 372.8 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2847, allocations: 1.149 MB / 374 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2847, allocations: 1.266 kB / 374 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.2851, allocations: 73.94 kB / 374.1 MB, free: 23.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/0.2853, allocations: 83.8 kB / 374.1 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.2854, allocations: 8.75 kB / 374.1 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2866, allocations: 1.779 MB / 375.9 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2867, allocations: 3.688 kB / 375.9 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2879, allocations: 0.7991 MB / 376.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.2879, allocations: 111.7 kB / 376.8 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.288, allocations: 7.5 kB / 376.8 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.2882, allocations: 21.95 kB / 376.9 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.2883, allocations: 40.16 kB / 376.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.2883, allocations: 19.44 kB / 376.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.143e-05/0.2884, allocations: 130.4 kB / 377.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2884, allocations: 0 / 377.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004869/0.2889, allocations: 153.1 kB / 377.2 MB, free: 20.91 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.0001854/0.2891, allocations: 147.9 kB / 377.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.2902, allocations: 0.5887 MB / 377.9 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2903, allocations: 0 / 377.9 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.2908, allocations: 377.5 kB / 378.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.2912, allocations: 32.05 kB / 378.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2924, allocations: 0.8149 MB / 379.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2927, allocations: 0.805 MB / 380 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.2929, allocations: 48.28 kB / 380 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.293, allocations: 39.89 kB / 380 MB, free: 19.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.293, allocations: 0 / 380 MB, free: 19.09 MB / 302.1 MB Notification: Performance of Templates: time 0.009734/0.3027, allocations: 4.296 MB / 384.3 MB, free: 18.79 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