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.001051/0.001051, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001067/0.001067, allocations: 191 kB / 18.63 MB, free: 4.512 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.406/1.406, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009557/0.0009558, allocations: 51.42 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1018, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005183/0.107, allocations: 3.687 MB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1094, allocations: 1.425 MB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1096, allocations: 11.94 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.1113, allocations: 0.7565 MB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1125, allocations: 0.5358 MB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.1133, allocations: 421 kB / 358.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.1138, allocations: 469.9 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.1145, allocations: 393.8 kB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.1148, allocations: 203.2 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.1151, allocations: 270.9 kB / 359.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.1152, allocations: 40 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.1156, allocations: 207.8 kB / 359.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.1156, allocations: 107.6 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.1158, allocations: 230.9 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007101/0.1166, allocations: 0.6813 MB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1166, allocations: 0 / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1166, allocations: 0 / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1166, allocations: 4 kB / 360.9 MB, free: 10.26 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.002048/0.1187, allocations: 0.9014 MB / 361.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1187, allocations: 11.89 kB / 361.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.1221, allocations: 491.9 kB / 362.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.1227, allocations: 303.7 kB / 362.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.1227, allocations: 41.69 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.1228, allocations: 52.38 kB / 362.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.1237, allocations: 0.5142 MB / 363.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1237, allocations: 0 / 363.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.1237, allocations: 20 kB / 363.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.1238, allocations: 12 kB / 363.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/0.1248, allocations: 0.575 MB / 363.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.1276, allocations: 1.853 MB / 365.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.1299, allocations: 2.188 MB / 367.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.1303, allocations: 218 kB / 368.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.942e-05/0.1304, allocations: 89.55 kB / 368.1 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1304, allocations: 43 kB / 368.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.1304, allocations: 0 / 368.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001885/0.1323, allocations: 0.7894 MB / 369 MB, free: 1.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1324, allocations: 55.84 kB / 369 MB, free: 1.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1326, allocations: 194.8 kB / 369.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.1326, allocations: 33.7 kB / 369.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1328, allocations: 220.3 kB / 369.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1329, allocations: 161.6 kB / 369.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.133, allocations: 82.25 kB / 369.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1331, allocations: 334.8 kB / 370 MB, free: 432 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.1335, allocations: 161 kB / 370.2 MB, free: 272 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.1338, allocations: 220.8 kB / 370.4 MB, free: 28 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1764/0.3102, allocations: 395.8 kB / 370.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.3103, allocations: 1.875 kB / 370.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00129/0.3116, allocations: 0.5319 MB / 371.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.3116, allocations: 7.031 kB / 371.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3116, allocations: 2.312 kB / 371.3 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004677/0.3121, allocations: 88.66 kB / 371.4 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.3125, allocations: 91.52 kB / 371.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.3148, allocations: 2.033 MB / 373.5 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.3151, allocations: 51.28 kB / 373.6 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3151, allocations: 19.02 kB / 373.6 MB, free: 23.8 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.0002637/0.3154, allocations: 170.3 kB / 373.8 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.3155, allocations: 24.28 kB / 373.8 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.3168, allocations: 0.546 MB / 374.3 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3168, allocations: 9.25 kB / 374.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3168, allocations: 1.906 kB / 374.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3169, allocations: 3.531 kB / 374.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.3189, allocations: 1.132 MB / 375.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3189, allocations: 3.938 kB / 375.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.3193, allocations: 71.81 kB / 375.6 MB, free: 22.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.3196, allocations: 92.33 kB / 375.7 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.3196, allocations: 7.828 kB / 375.7 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.3214, allocations: 2.036 MB / 377.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3214, allocations: 0.6094 kB / 377.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3227, allocations: 0.7941 MB / 378.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.3228, allocations: 107 kB / 378.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.3228, allocations: 10.38 kB / 378.6 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.323, allocations: 18.5 kB / 378.6 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3232, allocations: 36.75 kB / 378.7 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.3232, allocations: 13.86 kB / 378.7 MB, free: 20.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3234, allocations: 140.1 kB / 378.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3234, allocations: 0 / 378.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000727/0.3241, allocations: 147.8 kB / 379 MB, free: 20.23 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.0003206/0.3244, allocations: 143.8 kB / 379.1 MB, free: 20.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3255, allocations: 0.5669 MB / 379.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3256, allocations: 0 / 379.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.3261, allocations: 382.2 kB / 380 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3265, allocations: 32.55 kB / 380.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3278, allocations: 0.7929 MB / 380.9 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3281, allocations: 0.8135 MB / 381.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.3283, allocations: 49.38 kB / 381.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.3284, allocations: 30.69 kB / 381.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3284, allocations: 1.281 kB / 381.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of Templates: time 0.01002/0.3385, allocations: 4.269 MB / 386 MB, free: 18.14 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 -s cvode -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