Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.00111/0.00111, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001093/0.001093, allocations: 181 kB / 18.71 MB, free: 4.207 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.201/0.201, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.83 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2876, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006787/0.2944, allocations: 6.94 MB / 0.5252 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.298, allocations: 2.201 MB / 0.5273 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.2983, allocations: 20.62 kB / 0.5274 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.3015, allocations: 1.519 MB / 0.5289 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.3032, allocations: 0.845 MB / 0.5297 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3044, allocations: 0.5805 MB / 0.5302 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3054, allocations: 1.159 MB / 0.5314 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.3064, allocations: 0.804 MB / 0.5322 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.3069, allocations: 482.5 kB / 0.5326 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.3075, allocations: 0.5924 MB / 0.5332 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.3077, allocations: 94.5 kB / 0.5333 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.3082, allocations: 284.5 kB / 0.5336 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.3084, allocations: 253 kB / 0.5338 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.3088, allocations: 0.5495 MB / 0.5343 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.3103, allocations: 1.463 MB / 0.5358 GB, free: 7.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3103, allocations: 4 kB / 0.5358 GB, free: 7.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3103, allocations: 1.188 kB / 0.5358 GB, free: 7.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3103, allocations: 0 / 0.5358 GB, free: 7.141 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003973/0.3143, allocations: 1.707 MB / 0.5374 GB, free: 5.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3144, allocations: 9.625 kB / 0.5374 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.3146, allocations: 185 kB / 0.5376 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009888/0.3245, allocations: 1.322 MB / 0.5389 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008219/0.3253, allocations: 0.537 MB / 0.5394 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/0.3254, allocations: 95.16 kB / 0.5395 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.3256, allocations: 125.6 kB / 0.5397 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.3279, allocations: 1.143 MB / 0.5408 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.3279, allocations: 2.625 kB / 0.5408 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.328, allocations: 50.62 kB / 0.5408 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.3281, allocations: 28.38 kB / 0.5408 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.3304, allocations: 1.365 MB / 0.5422 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006642/0.337, allocations: 4.65 MB / 0.5467 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.3387, allocations: 0.938 MB / 0.5476 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/0.3393, allocations: 371.7 kB / 0.548 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.54e-05/0.3394, allocations: 102.1 kB / 0.5481 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3394, allocations: 47.5 kB / 0.5481 GB, free: 13.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.275e-06/0.3394, allocations: 0 / 0.5481 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.00209/0.3415, allocations: 1.191 MB / 0.5493 GB, free: 11.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.3416, allocations: 64.34 kB / 0.5494 GB, free: 11.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008607/0.3424, allocations: 0.7855 MB / 0.5501 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.3425, allocations: 41.7 kB / 0.5502 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.3428, allocations: 468.2 kB / 0.5506 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.343, allocations: 325.2 kB / 0.5509 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.3433, allocations: 182.9 kB / 0.5511 GB, free: 10.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3434, allocations: 402.7 kB / 0.5515 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.344, allocations: 338.5 kB / 0.5518 GB, free: 9.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.3447, allocations: 0.5583 MB / 0.5523 GB, free: 8.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.3461, allocations: 0.9153 MB / 0.5532 GB, free: 7.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3461, allocations: 4 kB / 0.5532 GB, free: 7.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001841/0.3479, allocations: 1.127 MB / 0.5543 GB, free: 6.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3479, allocations: 11.98 kB / 0.5544 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.348, allocations: 8 kB / 0.5544 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.3482, allocations: 66 kB / 0.5544 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009735/0.3492, allocations: 247.6 kB / 0.5547 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.3511, allocations: 2.832 MB / 0.5574 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/0.352, allocations: 146.8 kB / 0.5576 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.352, allocations: 44 kB / 0.5576 GB, free: 2.895 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.3523, allocations: 245.6 kB / 0.5578 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3525, allocations: 95.42 kB / 0.5579 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.3543, allocations: 1.099 MB / 0.559 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3543, allocations: 12 kB / 0.559 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3543, allocations: 0 / 0.559 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3543, allocations: 7.984 kB / 0.559 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.3576, allocations: 2.696 MB / 0.5617 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.3577, allocations: 8 kB / 0.5617 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.3584, allocations: 176.5 kB / 0.5618 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.3586, allocations: 73.56 kB / 0.5619 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.3587, allocations: 27.98 kB / 0.5619 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.3605, allocations: 2.82 MB / 0.5647 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.3605, allocations: 11.94 kB / 0.5647 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.3626, allocations: 1.465 MB / 0.5661 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.3628, allocations: 204.2 kB / 0.5663 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3629, allocations: 24 kB / 0.5663 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.3635, allocations: 47.97 kB / 0.5664 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3637, allocations: 80.36 kB / 0.5665 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.3637, allocations: 39.98 kB / 0.5665 GB, free: 9.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006268/0.3644, allocations: 0.5537 MB / 0.567 GB, free: 8.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3644, allocations: 0 / 0.567 GB, free: 8.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008429/0.3652, allocations: 287.6 kB / 0.5673 GB, free: 8.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002451/0.3677, allocations: 2.067 MB / 0.5693 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.3694, allocations: 1.07 MB / 0.5704 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3694, allocations: 4.125 kB / 0.5704 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008768/0.3703, allocations: 0.6149 MB / 0.571 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.371, allocations: 121.1 kB / 0.5711 GB, free: 4.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.3812, allocations: 8.093 MB / 0.579 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.3817, allocations: 0.9883 MB / 0.58 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005472/0.3822, allocations: 147.4 kB / 0.5801 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/0.3827, allocations: 355.3 kB / 0.5805 GB, free: 10.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3827, allocations: 0 / 0.5805 GB, free: 10.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.4247, allocations: 18.83 MB / 0.5988 GB, free: 7.562 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.93, allocations: 16.23 kB / 0.5989 GB, free: 7.555 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches