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.001087/0.001087, allocations: 106.7 kB / 16.62 MB, free: 6.809 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.001243/0.001244, 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.374/1.374, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 50.02 kB / 300.2 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.0851, allocations: 49.45 MB / 349.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005128/0.09026, allocations: 3.709 MB / 353.4 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.0927, allocations: 1.402 MB / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.09308, allocations: 8 kB / 354.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.09515, allocations: 0.7181 MB / 355.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.0964, allocations: 0.4934 MB / 356 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/0.09726, allocations: 400.9 kB / 356.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.09794, allocations: 466 kB / 356.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000823/0.09877, allocations: 0.5059 MB / 357.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.09915, allocations: 219.2 kB / 357.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.09953, allocations: 270.9 kB / 357.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.09962, allocations: 44 kB / 357.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1001, allocations: 211.8 kB / 358.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.1002, allocations: 107.6 kB / 358.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.1004, allocations: 238.8 kB / 358.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.1013, allocations: 0.6775 MB / 359.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1014, allocations: 0 / 359.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1014, allocations: 4 kB / 359.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.1014, allocations: 7.938 kB / 359.1 MB, free: 11.19 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.002257/0.1037, allocations: 0.917 MB / 360 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.988e-05/0.1037, allocations: 12.03 kB / 360.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.1039, allocations: 92.02 kB / 360.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/0.1075, allocations: 495.9 kB / 360.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.108, allocations: 311.6 kB / 360.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.108, allocations: 45.69 kB / 361 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.1081, allocations: 48.38 kB / 361 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1092, allocations: 0.5336 MB / 361.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1092, allocations: 0 / 361.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.1093, allocations: 20 kB / 361.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1093, allocations: 20 kB / 361.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.1106, allocations: 0.579 MB / 362.2 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.1137, allocations: 1.894 MB / 364.1 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.1159, allocations: 2.167 MB / 366.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.1164, allocations: 266 kB / 366.5 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.971e-05/0.1165, allocations: 89.53 kB / 366.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1165, allocations: 43 kB / 366.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.1166, allocations: 0 / 366.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001799/0.1184, allocations: 0.7465 MB / 367.4 MB, free: 2.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1184, allocations: 55.84 kB / 367.4 MB, free: 2.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1186, allocations: 178.3 kB / 367.6 MB, free: 2.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1186, allocations: 33.7 kB / 367.6 MB, free: 2.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.1189, allocations: 220.5 kB / 367.9 MB, free: 1.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.119, allocations: 161.6 kB / 368 MB, free: 1.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.1191, allocations: 94.09 kB / 368.1 MB, free: 1.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1193, allocations: 338.7 kB / 368.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.1197, allocations: 149.1 kB / 368.6 MB, free: 1.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.12, allocations: 242.5 kB / 368.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.1207, allocations: 416.9 kB / 369.2 MB, free: 344 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1207, allocations: 0 / 369.2 MB, free: 344 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1652/0.286, allocations: 0.5311 MB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.286, allocations: 5.531 kB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.286, allocations: 2.75 kB / 369.8 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.2864, allocations: 83.62 kB / 369.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.2868, allocations: 99.81 kB / 369.9 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.2883, allocations: 1.773 MB / 371.7 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.2886, allocations: 48.06 kB / 371.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.2886, allocations: 20.5 kB / 371.8 MB, free: 24.04 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.000174/0.2888, allocations: 163.9 kB / 371.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.2889, allocations: 26.08 kB / 372 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.2899, allocations: 0.5429 MB / 372.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.29, allocations: 9.484 kB / 372.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.29, allocations: 1.219 kB / 372.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.29, allocations: 4.141 kB / 372.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.2916, allocations: 1.149 MB / 373.7 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.2916, allocations: 4.438 kB / 373.7 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.292, allocations: 75.09 kB / 373.7 MB, free: 23.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.2922, allocations: 83.64 kB / 373.8 MB, free: 23.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.2923, allocations: 8.625 kB / 373.8 MB, free: 23.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.2936, allocations: 1.774 MB / 375.6 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2936, allocations: 3.5 kB / 375.6 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.2948, allocations: 0.801 MB / 376.4 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.2948, allocations: 110.8 kB / 376.5 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.2949, allocations: 16.52 kB / 376.5 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.2951, allocations: 19.02 kB / 376.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.2952, allocations: 33.83 kB / 376.6 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.2953, allocations: 19.64 kB / 376.6 MB, free: 21.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.658e-05/0.2954, allocations: 134.2 kB / 376.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2954, allocations: 3.844 kB / 376.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005234/0.2959, allocations: 154.6 kB / 376.9 MB, free: 20.99 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.001447/0.2974, allocations: 1.386 MB / 378.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.2985, allocations: 0.5828 MB / 378.9 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2985, allocations: 5.281 kB / 378.9 MB, free: 19.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005169/0.299, allocations: 380.5 kB / 379.2 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.2994, allocations: 27.92 kB / 379.3 MB, free: 19.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.3035, allocations: 3.629 MB / 382.9 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3037, allocations: 0.8109 MB / 383.7 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.304, allocations: 47.52 kB / 383.8 MB, free: 16.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.3041, allocations: 135.1 kB / 383.9 MB, free: 16.21 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3041, allocations: 0 / 383.9 MB, free: 16.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04369/0.3478, allocations: 7.339 MB / 391.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.348, allocations: 249.9 kB / 391.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.492, allocations: 0 / 391.5 MB, free: 14.09 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