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.00161/0.00161, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001789/0.001789, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.0009939, allocations: 44.06 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.089, allocations: 49.44 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004844/0.09388, allocations: 3.687 MB / 354.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.09623, allocations: 1.425 MB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.09645, allocations: 8 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.09818, allocations: 0.7652 MB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.09929, allocations: 0.5325 MB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.1001, allocations: 433.5 kB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.1006, allocations: 458 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006/0.1012, allocations: 382.1 kB / 358.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.1016, allocations: 203.3 kB / 358.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1018, allocations: 267 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.1019, allocations: 44 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.1023, allocations: 211.7 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.1024, allocations: 103.6 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1026, allocations: 230.9 kB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006878/0.1033, allocations: 0.6736 MB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1033, allocations: 0 / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1033, allocations: 0 / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.1034, allocations: 0 / 360.1 MB, free: 11.01 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.002041/0.1054, allocations: 0.9092 MB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1055, allocations: 15.89 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/0.1089, allocations: 495.8 kB / 361.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.1093, allocations: 307.3 kB / 361.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.1093, allocations: 41.69 kB / 361.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.1094, allocations: 56.38 kB / 361.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.1103, allocations: 0.5103 MB / 362.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1103, allocations: 7.938 kB / 362.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.1104, allocations: 20 kB / 362.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1104, allocations: 12 kB / 362.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.1114, allocations: 0.5634 MB / 363 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.1141, allocations: 1.873 MB / 364.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.1162, allocations: 2.188 MB / 367.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.1166, allocations: 214.1 kB / 367.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.141e-05/0.1167, allocations: 85.55 kB / 367.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.1168, allocations: 42.98 kB / 367.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.1168, allocations: 0 / 367.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001973/0.1187, allocations: 0.7933 MB / 368.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1188, allocations: 55.84 kB / 368.3 MB, free: 2.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.119, allocations: 190.3 kB / 368.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.119, allocations: 33.7 kB / 368.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.1192, allocations: 220.4 kB / 368.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1193, allocations: 161.7 kB / 368.9 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1194, allocations: 86.25 kB / 368.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1196, allocations: 334.8 kB / 369.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1199, allocations: 149 kB / 369.4 MB, free: 1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1202, allocations: 228.8 kB / 369.6 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.1209, allocations: 399.4 kB / 370 MB, free: 348 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1209, allocations: 4 kB / 370 MB, free: 344 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.16/0.2809, allocations: 0.5243 MB / 370.6 MB, free: 25.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.2809, allocations: 6.312 kB / 370.6 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.281, allocations: 2.188 kB / 370.6 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.2814, allocations: 93.12 kB / 370.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.2819, allocations: 93.91 kB / 370.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.2838, allocations: 2.043 MB / 372.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.2841, allocations: 49.09 kB / 372.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2841, allocations: 18.5 kB / 372.9 MB, free: 23.81 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.0001953/0.2843, allocations: 164.2 kB / 373 MB, free: 23.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.2844, allocations: 30.19 kB / 373 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.2855, allocations: 0.5545 MB / 373.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2856, allocations: 4.875 kB / 373.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2856, allocations: 2.5 kB / 373.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2856, allocations: 2.719 kB / 373.6 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.2872, allocations: 1.13 MB / 374.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2872, allocations: 0.5 kB / 374.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.2876, allocations: 76.5 kB / 374.8 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.2879, allocations: 87.23 kB / 374.9 MB, free: 22.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.2879, allocations: 12.92 kB / 374.9 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.2895, allocations: 2.047 MB / 377 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2895, allocations: 0 / 377 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2907, allocations: 0.7844 MB / 377.7 MB, free: 20.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.2908, allocations: 108.3 kB / 377.8 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.2908, allocations: 14.66 kB / 377.9 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2911, allocations: 22.91 kB / 377.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2912, allocations: 37.86 kB / 377.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.2912, allocations: 14.56 kB / 377.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.2913, allocations: 131.8 kB / 378.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2914, allocations: 0 / 378.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006283/0.292, allocations: 147.4 kB / 378.2 MB, free: 20.48 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.0002219/0.2922, allocations: 144.1 kB / 378.3 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.2934, allocations: 0.5849 MB / 378.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2934, allocations: 0 / 378.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.294, allocations: 390.8 kB / 379.3 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.2944, allocations: 26.98 kB / 379.3 MB, free: 19.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2957, allocations: 0.8293 MB / 380.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.296, allocations: 0.8124 MB / 381 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2962, allocations: 33.28 kB / 381 MB, free: 18.67 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2962, allocations: 1.5 kB / 381 MB, free: 18.67 MB / 302.1 MB Notification: Performance of Templates: time 0.008972/0.3051, allocations: 6.261 MB / 387.3 MB, free: 17.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/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