Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",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.001009/0.001009, allocations: 89.66 kB / 16.65 MB, free: 6.535 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.00113/0.00113, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.378/1.378, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002651, allocations: 8 kB / 301.5 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1045, allocations: 50.41 MB / 351.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004004/0.1086, allocations: 3.311 MB / 355.3 MB, free: 268 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.1111, allocations: 1.394 MB / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.1115, allocations: 12 kB / 356.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.1121, allocations: 159.3 kB / 356.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.1136, allocations: 494 kB / 357.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.1145, allocations: 415.7 kB / 357.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.115, allocations: 446 kB / 358.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.1163, allocations: 0.7798 MB / 358.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.1166, allocations: 191.1 kB / 359.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.1169, allocations: 223 kB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.1169, allocations: 20 kB / 359.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.1174, allocations: 187.8 kB / 359.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.1175, allocations: 79.62 kB / 359.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1177, allocations: 228.5 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.1183, allocations: 0.654 MB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1183, allocations: 0 / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1183, allocations: 0 / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1183, allocations: 3.938 kB / 360.5 MB, free: 10.98 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.001862/0.1202, allocations: 0.8273 MB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1203, allocations: 12.03 kB / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.1204, allocations: 95.92 kB / 361.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.1238, allocations: 499.9 kB / 361.9 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.1242, allocations: 307.7 kB / 362.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.1243, allocations: 41.67 kB / 362.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.1243, allocations: 56.31 kB / 362.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009504/0.1253, allocations: 0.5297 MB / 362.8 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1253, allocations: 7.984 kB / 362.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.1254, allocations: 28 kB / 362.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1254, allocations: 12 kB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1264, allocations: 0.5868 MB / 363.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.1291, allocations: 1.894 MB / 365.4 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.1312, allocations: 2.174 MB / 367.5 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.1317, allocations: 268.8 kB / 367.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/0.1318, allocations: 93.52 kB / 367.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1319, allocations: 39 kB / 367.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.1319, allocations: 4 kB / 367.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001754/0.1336, allocations: 0.7544 MB / 368.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1337, allocations: 59.78 kB / 368.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1339, allocations: 182.3 kB / 368.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.1339, allocations: 33.7 kB / 369 MB, free: 1.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.134, allocations: 220.4 kB / 369.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.1342, allocations: 161.6 kB / 369.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.1342, allocations: 41.7 kB / 369.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1344, allocations: 346.8 kB / 369.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.1347, allocations: 153 kB / 369.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.135, allocations: 242.6 kB / 370.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.1357, allocations: 432.9 kB / 370.5 MB, free: 204 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1357, allocations: 0 / 370.5 MB, free: 204 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1615/0.2972, allocations: 0.5411 MB / 371.1 MB, free: 24.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.2973, allocations: 6.781 kB / 371.1 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2973, allocations: 1.938 kB / 371.1 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.2977, allocations: 80.77 kB / 371.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.2981, allocations: 98.52 kB / 371.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.2997, allocations: 1.642 MB / 372.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.3, allocations: 52.98 kB / 372.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.3, allocations: 20.8 kB / 373 MB, free: 23.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.3003, allocations: 166.4 kB / 373.1 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.3003, allocations: 24.16 kB / 373.1 MB, free: 22.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.3015, allocations: 0.5516 MB / 373.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3015, allocations: 11.45 kB / 373.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3015, allocations: 1.656 kB / 373.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3016, allocations: 10.41 kB / 373.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.3034, allocations: 1.159 MB / 374.9 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3035, allocations: 4.688 kB / 374.9 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.3038, allocations: 85.55 kB / 375 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.304, allocations: 76.59 kB / 375 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.304, allocations: 10.59 kB / 375 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3052, allocations: 1.648 MB / 376.7 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3052, allocations: 0 / 376.7 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3064, allocations: 0.815 MB / 377.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.3065, allocations: 115.6 kB / 377.6 MB, free: 20.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3065, allocations: 6.938 kB / 377.6 MB, free: 20.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3067, allocations: 27.22 kB / 377.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.3068, allocations: 33.7 kB / 377.7 MB, free: 20.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.3069, allocations: 16.98 kB / 377.7 MB, free: 20.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.307, allocations: 132.6 kB / 377.8 MB, free: 20.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.307, allocations: 3.781 kB / 377.8 MB, free: 20.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.3075, allocations: 147.5 kB / 378 MB, free: 20.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.309, allocations: 1.395 MB / 379.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009639/0.3099, allocations: 0.5777 MB / 380 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3099, allocations: 0 / 380 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.3105, allocations: 394.4 kB / 380.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3109, allocations: 28.11 kB / 380.4 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.3149, allocations: 3.703 MB / 384.1 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.3151, allocations: 0.8073 MB / 384.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.3153, allocations: 51.14 kB / 384.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3155, allocations: 134.6 kB / 385.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3155, allocations: 2.438 kB / 385.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.749/2.064, allocations: 6.977 MB / 392 MB, free: 13.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/2.065, allocations: 244.7 kB / 392.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/4.102, allocations: 3.25 kB / 392.3 MB, free: 13.66 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches