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.001139/0.001139, allocations: 89.62 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.001319/0.00132, allocations: 175.2 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.357/1.357, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002675, allocations: 6.5 kB / 301.5 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.097, allocations: 50.42 MB / 352 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003507/0.1005, allocations: 3.304 MB / 355.3 MB, free: 48 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1027, allocations: 1.402 MB / 356.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1028, allocations: 8 kB / 356.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.1032, allocations: 159.3 kB / 356.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.1043, allocations: 499.3 kB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.105, allocations: 402.3 kB / 357.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.1054, allocations: 438 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.1066, allocations: 0.7157 MB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.1069, allocations: 167.2 kB / 359 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1072, allocations: 238.9 kB / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1072, allocations: 24 kB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.1076, allocations: 179.9 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.1076, allocations: 83.61 kB / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1078, allocations: 232.5 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006463/0.1085, allocations: 0.6384 MB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1085, allocations: 0 / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1085, allocations: 0 / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1085, allocations: 0 / 360.4 MB, free: 10.87 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.001861/0.1104, allocations: 0.8233 MB / 361.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1104, allocations: 8.031 kB / 361.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.1106, allocations: 103.9 kB / 361.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.1139, allocations: 499.9 kB / 361.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1143, allocations: 307.7 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.1143, allocations: 41.69 kB / 362.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.1144, allocations: 56.38 kB / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009063/0.1153, allocations: 0.5257 MB / 362.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1154, allocations: 0 / 362.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.1154, allocations: 23.94 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1154, allocations: 12 kB / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009963/0.1164, allocations: 0.5829 MB / 363.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.119, allocations: 1.885 MB / 365.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.121, allocations: 2.188 MB / 367.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.1214, allocations: 218.1 kB / 367.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/0.1215, allocations: 93.52 kB / 367.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1215, allocations: 39 kB / 367.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.1215, allocations: 0 / 367.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001867/0.1234, allocations: 0.8129 MB / 368.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1235, allocations: 55.84 kB / 368.6 MB, free: 1.941 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1236, allocations: 194.1 kB / 368.8 MB, free: 1.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1237, allocations: 33.7 kB / 368.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1238, allocations: 216.5 kB / 369.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1239, allocations: 161.7 kB / 369.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.124, allocations: 41.69 kB / 369.3 MB, free: 1.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1241, allocations: 342.8 kB / 369.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.1244, allocations: 153 kB / 369.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.1247, allocations: 232.8 kB / 370 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.1254, allocations: 411.4 kB / 370.4 MB, free: 116 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1254, allocations: 0 / 370.4 MB, free: 116 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1676/0.293, allocations: 0.5433 MB / 370.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.293, allocations: 6.359 kB / 370.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.293, allocations: 2.125 kB / 370.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.2934, allocations: 92.92 kB / 371 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.2938, allocations: 92.27 kB / 371.1 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.2955, allocations: 1.85 MB / 373 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.2958, allocations: 50.55 kB / 373 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.2958, allocations: 16.89 kB / 373 MB, free: 22.91 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.0001856/0.296, allocations: 167.8 kB / 373.2 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.2961, allocations: 31.45 kB / 373.2 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.2972, allocations: 0.5574 MB / 373.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2973, allocations: 4.75 kB / 373.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2973, allocations: 2.031 kB / 373.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2973, allocations: 4.031 kB / 373.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.299, allocations: 1.143 MB / 374.9 MB, free: 22.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.299, allocations: 0.5312 kB / 374.9 MB, free: 22.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.2993, allocations: 77 kB / 375 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.2996, allocations: 86.73 kB / 375.1 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.2997, allocations: 23.66 kB / 375.1 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.3012, allocations: 1.844 MB / 377 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3012, allocations: 5.156 kB / 377 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3026, allocations: 0.8052 MB / 377.8 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.3026, allocations: 107.1 kB / 377.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.3027, allocations: 10.53 kB / 377.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.3029, allocations: 26.95 kB / 377.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.303, allocations: 41.3 kB / 378 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.303, allocations: 14.89 kB / 378 MB, free: 20.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.3032, allocations: 136.2 kB / 378.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3032, allocations: 1 kB / 378.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005874/0.3038, allocations: 149.8 kB / 378.2 MB, free: 20.03 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.001566/0.3053, allocations: 1.38 MB / 379.6 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3064, allocations: 0.5745 MB / 380.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3064, allocations: 4.062 kB / 380.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.3071, allocations: 388.4 kB / 380.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.3075, allocations: 30.25 kB / 380.6 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004767/0.3123, allocations: 3.672 MB / 384.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3126, allocations: 0.8101 MB / 385.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.3128, allocations: 48.19 kB / 385.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.313, allocations: 135 kB / 385.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.313, allocations: 0 / 385.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.905/2.218, allocations: 6.98 MB / 392.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/2.219, allocations: 253.1 kB / 392.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/4.24, allocations: 0 / 392.5 MB, free: 13.36 MB / 302.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