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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 112 kB / 17.06 MB, free: 5.992 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.00199/0.00199, allocations: 193.4 kB / 18 MB, free: 5.074 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.424/1.424, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 43.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005787/0.2724, allocations: 3.693 MB / 403.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.2751, allocations: 1.425 MB / 405.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.2754, allocations: 11.94 kB / 405.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.2773, allocations: 0.7533 MB / 406.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2786, allocations: 0.5286 MB / 406.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008864/0.2795, allocations: 434.5 kB / 407.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000584/0.2801, allocations: 462 kB / 407.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.2808, allocations: 384.8 kB / 407.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.2811, allocations: 211.2 kB / 408.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.2814, allocations: 262.9 kB / 408.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.2815, allocations: 40 kB / 408.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.282, allocations: 211.8 kB / 408.6 MB, free: 444 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.2821, allocations: 111.6 kB / 408.7 MB, free: 332 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.2823, allocations: 230.9 kB / 408.9 MB, free: 100 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008869/0.2832, allocations: 0.6771 MB / 409.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2832, allocations: 4 kB / 409.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2832, allocations: 0 / 409.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.2832, allocations: 0 / 409.6 MB, free: 15.41 MB / 334.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.00216/0.2854, allocations: 0.9152 MB / 410.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2855, allocations: 8.031 kB / 410.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.2856, allocations: 104 kB / 410.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.2891, allocations: 496.1 kB / 411.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.2896, allocations: 307.6 kB / 411.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.522e-05/0.2897, allocations: 41.69 kB / 411.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.2898, allocations: 56.36 kB / 411.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009788/0.2908, allocations: 0.514 MB / 412 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.2908, allocations: 4 kB / 412.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.2909, allocations: 28 kB / 412.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.2909, allocations: 12 kB / 412.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.292, allocations: 0.5634 MB / 412.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.2951, allocations: 1.873 MB / 414.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.2978, allocations: 2.18 MB / 416.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.2982, allocations: 214 kB / 416.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2983, allocations: 93.53 kB / 417 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.2983, allocations: 35 kB / 417 MB, free: 7.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.2984, allocations: 3.938 kB / 417 MB, free: 7.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.00211/0.3005, allocations: 0.7935 MB / 417.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3005, allocations: 59.78 kB / 417.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3007, allocations: 178.3 kB / 418.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.3008, allocations: 41.69 kB / 418.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3009, allocations: 236.9 kB / 418.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3011, allocations: 166.5 kB / 418.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3012, allocations: 82.25 kB / 418.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3014, allocations: 330.8 kB / 418.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.3017, allocations: 153 kB / 419.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.3021, allocations: 228.8 kB / 419.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.3028, allocations: 403.4 kB / 419.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3028, allocations: 0 / 419.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001084/0.3039, allocations: 0.5318 MB / 420.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3039, allocations: 8 kB / 420.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.304, allocations: 3.984 kB / 420.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.3044, allocations: 92.89 kB / 420.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.3048, allocations: 87.89 kB / 420.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.307, allocations: 2.037 MB / 422.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.3073, allocations: 51.66 kB / 422.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.3073, allocations: 27.98 kB / 422.5 MB, free: 1.621 MB / 334.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.0002438/0.3076, allocations: 163.7 kB / 422.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.3077, allocations: 23.86 kB / 422.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3088, allocations: 0.555 MB / 423.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3088, allocations: 4 kB / 423.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3088, allocations: 8 kB / 423.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3089, allocations: 7.922 kB / 423.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.3107, allocations: 1.127 MB / 424.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3107, allocations: 0 / 424.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.311, allocations: 79.89 kB / 424.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.3113, allocations: 84.81 kB / 424.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.3114, allocations: 12 kB / 424.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.3136, allocations: 2.033 MB / 426.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3136, allocations: 0 / 426.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.315, allocations: 0.7933 MB / 427.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3152, allocations: 112.8 kB / 427.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.3152, allocations: 8.062 kB / 427.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.3155, allocations: 19.98 kB / 427.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.3155, allocations: 36.33 kB / 427.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.3156, allocations: 19.98 kB / 427.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3158, allocations: 136.2 kB / 427.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3158, allocations: 0 / 427.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006088/0.3164, allocations: 147.9 kB / 427.9 MB, free: 12.01 MB / 350.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.001912/0.3183, allocations: 1.376 MB / 429.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.3195, allocations: 0.5737 MB / 429.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3195, allocations: 4 kB / 429.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.3201, allocations: 377.5 kB / 430.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3205, allocations: 32 kB / 430.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.326, allocations: 3.391 MB / 433.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.3266, allocations: 0.8123 MB / 434.4 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.3268, allocations: 50.89 kB / 434.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.327, allocations: 139.4 kB / 434.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.327, allocations: 0 / 434.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/0.376, allocations: 7.598 MB / 442.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.78, allocations: 8.625 kB / 442.2 MB, free: 13.62 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > 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