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.001096/0.001096, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001173/0.001173, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3065, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004978/0.3115, allocations: 3.686 MB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.3142, allocations: 1.433 MB / 405.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.3146, allocations: 8 kB / 405.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.3167, allocations: 0.7461 MB / 406.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3181, allocations: 0.5403 MB / 406.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.319, allocations: 431 kB / 407.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006542/0.3196, allocations: 454 kB / 407.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006905/0.3203, allocations: 395.5 kB / 407.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.3207, allocations: 203.2 kB / 408.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.3211, allocations: 267 kB / 408.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.3212, allocations: 40 kB / 408.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.3218, allocations: 211.8 kB / 408.6 MB, free: 448 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.3219, allocations: 103.6 kB / 408.7 MB, free: 344 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3221, allocations: 230.9 kB / 408.9 MB, free: 112 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000999/0.3231, allocations: 0.6775 MB / 409.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3232, allocations: 0 / 409.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3232, allocations: 0 / 409.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.3232, allocations: 4 kB / 409.6 MB, free: 15.43 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.002291/0.3255, allocations: 0.9014 MB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3255, allocations: 8.031 kB / 410.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.3257, allocations: 107.9 kB / 410.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.3292, allocations: 491.9 kB / 411.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.3297, allocations: 315.5 kB / 411.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.3298, allocations: 45.69 kB / 411.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3299, allocations: 52.38 kB / 411.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.331, allocations: 0.5179 MB / 412 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.331, allocations: 4 kB / 412 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.3311, allocations: 20 kB / 412.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.3311, allocations: 12 kB / 412.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3321, allocations: 0.5712 MB / 412.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.3351, allocations: 1.861 MB / 414.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.3374, allocations: 2.18 MB / 416.7 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.3378, allocations: 210.1 kB / 416.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-05/0.3379, allocations: 97.52 kB / 417 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3379, allocations: 39 kB / 417 MB, free: 7.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.3379, allocations: 0 / 417 MB, free: 7.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001991/0.3399, allocations: 0.7933 MB / 417.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.34, allocations: 55.84 kB / 417.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3402, allocations: 198.1 kB / 418.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.3403, allocations: 29.7 kB / 418.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3404, allocations: 212.5 kB / 418.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.3405, allocations: 165.6 kB / 418.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3407, allocations: 86.16 kB / 418.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3408, allocations: 338.8 kB / 418.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.3411, allocations: 153 kB / 419 MB, free: 5.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.3415, allocations: 228.8 kB / 419.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.3422, allocations: 399.5 kB / 419.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3422, allocations: 0 / 419.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001041/0.3432, allocations: 0.5278 MB / 420.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3433, allocations: 8 kB / 420.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3433, allocations: 0 / 420.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.3437, allocations: 96.73 kB / 420.3 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.344, allocations: 83.89 kB / 420.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.3462, allocations: 2.056 MB / 422.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.3465, allocations: 47.52 kB / 422.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3466, allocations: 15.94 kB / 422.5 MB, free: 1.664 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.0002174/0.3468, allocations: 163.3 kB / 422.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.3469, allocations: 31.97 kB / 422.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.348, allocations: 0.5434 MB / 423.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.348, allocations: 15.92 kB / 423.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.348, allocations: 4 kB / 423.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.348, allocations: 7.922 kB / 423.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.3498, allocations: 1.119 MB / 424.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3498, allocations: 0 / 424.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3501, allocations: 75.89 kB / 424.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/0.3504, allocations: 84.75 kB / 424.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.3505, allocations: 15.98 kB / 424.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.3524, allocations: 2.029 MB / 426.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3525, allocations: 3.938 kB / 426.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.3538, allocations: 0.7971 MB / 427.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.3539, allocations: 112.6 kB / 427.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.3539, allocations: 4 kB / 427.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.3542, allocations: 23.98 kB / 427.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.3543, allocations: 36.45 kB / 427.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.3543, allocations: 15.98 kB / 427.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3545, allocations: 136.2 kB / 427.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3545, allocations: 0 / 427.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.3551, allocations: 151.5 kB / 427.8 MB, free: 12.05 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.001762/0.3569, allocations: 1.372 MB / 429.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.358, allocations: 0.5698 MB / 429.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3581, allocations: 0 / 429.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.3587, allocations: 377 kB / 430.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.359, allocations: 39.78 kB / 430.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.3641, allocations: 3.392 MB / 433.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3645, allocations: 0.8084 MB / 434.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.3646, allocations: 46.95 kB / 434.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3649, allocations: 139.4 kB / 434.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3649, allocations: 0 / 434.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.3993, allocations: 7.73 MB / 442.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/10.23, allocations: 4.219 kB / 442.3 MB, free: 13.55 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