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.001283/0.001283, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001342/0.001342, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.322/1.322, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009557/0.0009557, allocations: 43.45 kB / 300.1 MB, free: 6.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08916, allocations: 49.46 MB / 349.6 MB, free: 4.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004578/0.09377, allocations: 3.709 MB / 353.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.09592, allocations: 1.402 MB / 354.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.09609, allocations: 16 kB / 354.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.09772, allocations: 0.7025 MB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009905/0.09872, allocations: 0.5009 MB / 355.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.09947, allocations: 394 kB / 356.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.09992, allocations: 458 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.1006, allocations: 434.1 kB / 357.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1009, allocations: 203.3 kB / 357.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.1011, allocations: 271 kB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.1012, allocations: 43.94 kB / 357.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.1015, allocations: 207.8 kB / 357.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.1016, allocations: 103.6 kB / 358 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1018, allocations: 230.8 kB / 358.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.1024, allocations: 0.6736 MB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1024, allocations: 0 / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1025, allocations: 0 / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1025, allocations: 0 / 358.9 MB, free: 11.36 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.001955/0.1044, allocations: 0.9015 MB / 359.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1045, allocations: 15.83 kB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.108, allocations: 491.9 kB / 360.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.1084, allocations: 307.7 kB / 360.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.1084, allocations: 37.69 kB / 360.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.1085, allocations: 60.38 kB / 360.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.1095, allocations: 0.522 MB / 361.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1095, allocations: 0 / 361.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.1096, allocations: 20 kB / 361.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1096, allocations: 12 kB / 361.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.1106, allocations: 0.5634 MB / 361.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.1133, allocations: 1.865 MB / 363.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.1153, allocations: 2.192 MB / 365.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.1157, allocations: 214.1 kB / 366.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-05/0.1158, allocations: 93.52 kB / 366.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1158, allocations: 39 kB / 366.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.593e-06/0.1158, allocations: 0 / 366.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001909/0.1177, allocations: 0.7933 MB / 367 MB, free: 2.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1178, allocations: 55.84 kB / 367 MB, free: 2.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1179, allocations: 186.3 kB / 367.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.118, allocations: 29.7 kB / 367.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1181, allocations: 220.4 kB / 367.5 MB, free: 2.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1182, allocations: 169.6 kB / 367.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1184, allocations: 82.19 kB / 367.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1185, allocations: 338.8 kB / 368 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.1188, allocations: 153.1 kB / 368.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.1191, allocations: 232.8 kB / 368.4 MB, free: 1.094 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.1198, allocations: 399.4 kB / 368.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1198, allocations: 0 / 368.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009841/0.1208, allocations: 0.5278 MB / 369.3 MB, free: 148 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1208, allocations: 8 kB / 369.3 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1208, allocations: 0 / 369.3 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.1212, allocations: 96.8 kB / 369.4 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1434/0.2646, allocations: 86.34 kB / 369.5 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.2667, allocations: 2.031 MB / 371.5 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.2671, allocations: 50.86 kB / 371.6 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.2671, allocations: 16.83 kB / 371.6 MB, free: 23.98 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.0002248/0.2673, allocations: 166.4 kB / 371.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.2674, allocations: 31.25 kB / 371.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.2686, allocations: 0.5531 MB / 372.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2686, allocations: 5.844 kB / 372.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2686, allocations: 1.531 kB / 372.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.2687, allocations: 6.469 kB / 372.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.2702, allocations: 1.135 MB / 373.5 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2702, allocations: 0 / 373.5 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.2705, allocations: 71.89 kB / 373.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.2708, allocations: 87.86 kB / 373.7 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2708, allocations: 12.45 kB / 373.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.2726, allocations: 2.037 MB / 375.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2726, allocations: 3.656 kB / 375.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.2737, allocations: 0.7923 MB / 376.5 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2738, allocations: 110.8 kB / 376.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.2738, allocations: 11.19 kB / 376.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2741, allocations: 18.94 kB / 376.6 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.2742, allocations: 37.19 kB / 376.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.2742, allocations: 11.72 kB / 376.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.892e-05/0.2743, allocations: 140.2 kB / 376.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2743, allocations: 0 / 376.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.2748, allocations: 147.6 kB / 377 MB, free: 20.72 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.0002031/0.2751, allocations: 139.5 kB / 377.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.2761, allocations: 0.5844 MB / 377.7 MB, free: 20.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2761, allocations: 3.719 kB / 377.7 MB, free: 20.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.2766, allocations: 382.2 kB / 378.1 MB, free: 20.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.277, allocations: 31.16 kB / 378.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2781, allocations: 0.9995 MB / 379.1 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2784, allocations: 0.8049 MB / 379.9 MB, free: 18.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.2786, allocations: 47.55 kB / 380 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.2787, allocations: 34.3 kB / 380 MB, free: 18.74 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2787, allocations: 7.844 kB / 380 MB, free: 18.73 MB / 302.1 MB Notification: Performance of Templates: time 0.008732/0.2874, allocations: 4.286 MB / 384.3 MB, free: 18.43 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