Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 106.3 kB / 16.92 MB, free: 5.777 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.001075/0.001075, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.29/1.29, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 47.02 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09411, allocations: 49.45 MB / 350.1 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005212/0.09936, allocations: 3.675 MB / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.1023, allocations: 1.429 MB / 355.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.1028, allocations: 8 kB / 355.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.1047, allocations: 0.7584 MB / 355.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.1061, allocations: 0.5393 MB / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009218/0.107, allocations: 435.7 kB / 356.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006608/0.1077, allocations: 454 kB / 357.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/0.1084, allocations: 390.1 kB / 357.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.1088, allocations: 203.2 kB / 357.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.1092, allocations: 263 kB / 358.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1093, allocations: 47.94 kB / 358.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.1098, allocations: 211.8 kB / 358.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.1099, allocations: 99.61 kB / 358.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.1102, allocations: 226.9 kB / 358.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008106/0.111, allocations: 0.6814 MB / 359.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.111, allocations: 0 / 359.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.111, allocations: 0 / 359.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.1111, allocations: 0 / 359.4 MB, free: 11.02 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.002192/0.1133, allocations: 0.9014 MB / 360.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1133, allocations: 23.83 kB / 360.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.1169, allocations: 495.9 kB / 360.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1173, allocations: 299.7 kB / 361.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.1173, allocations: 41.69 kB / 361.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/0.1174, allocations: 48.38 kB / 361.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009197/0.1183, allocations: 0.5142 MB / 361.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.1184, allocations: 0 / 361.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.1184, allocations: 31.88 kB / 361.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1185, allocations: 15.98 kB / 361.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.1195, allocations: 0.5673 MB / 362.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.1222, allocations: 1.865 MB / 364.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.1243, allocations: 2.195 MB / 366.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.1247, allocations: 210.1 kB / 366.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.992e-05/0.1247, allocations: 89.53 kB / 366.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1248, allocations: 35 kB / 366.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.1248, allocations: 0 / 366.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001932/0.1267, allocations: 0.7933 MB / 367.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1268, allocations: 59.84 kB / 367.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.127, allocations: 194.8 kB / 367.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.127, allocations: 33.7 kB / 367.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1271, allocations: 220.4 kB / 368 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1273, allocations: 157.7 kB / 368.2 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1274, allocations: 82.25 kB / 368.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1275, allocations: 338.8 kB / 368.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.1278, allocations: 149 kB / 368.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.1282, allocations: 232.8 kB / 369 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.1288, allocations: 399.4 kB / 369.4 MB, free: 348 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1288, allocations: 0 / 369.4 MB, free: 348 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1767/0.3055, allocations: 0.5311 MB / 369.9 MB, free: 25.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.3056, allocations: 5.781 kB / 369.9 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3056, allocations: 1.969 kB / 369.9 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.306, allocations: 90.59 kB / 370 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.3064, allocations: 92.12 kB / 370.1 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.3082, allocations: 2.039 MB / 372.1 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.3084, allocations: 54.44 kB / 372.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.3085, allocations: 17.78 kB / 372.2 MB, free: 23.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.3087, allocations: 162.9 kB / 372.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.3088, allocations: 29.09 kB / 372.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.3099, allocations: 0.5526 MB / 372.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3099, allocations: 4.875 kB / 372.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3099, allocations: 1.406 kB / 372.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3099, allocations: 3.688 kB / 372.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.3114, allocations: 1.128 MB / 374.1 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3115, allocations: 0.7031 kB / 374.1 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3118, allocations: 73.94 kB / 374.1 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/0.312, allocations: 90.75 kB / 374.2 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.3121, allocations: 16.47 kB / 374.2 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.3135, allocations: 2.039 MB / 376.3 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3136, allocations: 1.375 kB / 376.3 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3148, allocations: 0.7876 MB / 377.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.3149, allocations: 111.2 kB / 377.2 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.3149, allocations: 10.64 kB / 377.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.3151, allocations: 22.97 kB / 377.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3153, allocations: 41.73 kB / 377.2 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.3153, allocations: 10.67 kB / 377.3 MB, free: 20.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3154, allocations: 135 kB / 377.4 MB, free: 20.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3154, allocations: 0 / 377.4 MB, free: 20.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005955/0.316, allocations: 147.1 kB / 377.5 MB, free: 20.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.3163, allocations: 147 kB / 377.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3174, allocations: 0.5764 MB / 378.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3174, allocations: 7.266 kB / 378.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.3179, allocations: 379.4 kB / 378.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3184, allocations: 31.53 kB / 378.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3195, allocations: 0.8038 MB / 379.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3198, allocations: 0.8093 MB / 380.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.32, allocations: 44.67 kB / 380.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.32, allocations: 38.72 kB / 380.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3201, allocations: 0 / 380.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of Templates: time 0.008893/0.329, allocations: 4.315 MB / 384.7 MB, free: 18.29 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches