Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 115.6 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 214.1 kB / 20.13 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06749/0.06749, allocations: 14.41 MB / 296.8 MB, free: 1.871 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 75.91 kB / 416.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3518, allocations: 52.88 MB / 469 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.009063/0.3608, allocations: 7.17 MB / 476.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007214/0.368, allocations: 3.546 MB / 479.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.369, allocations: 19.88 kB / 479.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.3702, allocations: 409.7 kB / 480.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004823/0.375, allocations: 1.598 MB / 481.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3762, allocations: 0.5954 MB / 482.4 MB, free: 384 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.3788, allocations: 1.821 MB / 484.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.379, allocations: 70.23 kB / 484.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009638/0.38, allocations: 0.6227 MB / 484.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.3808, allocations: 0.642 MB / 485.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-05/0.3809, allocations: 60 kB / 485.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.382, allocations: 431.7 kB / 486 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3822, allocations: 155.2 kB / 486.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005853/0.3827, allocations: 0.5364 MB / 486.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.3849, allocations: 1.489 MB / 488.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3849, allocations: 0 / 488.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3849, allocations: 0 / 488.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3849, allocations: 0 / 488.2 MB, free: 10.53 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00554/0.3905, allocations: 1.718 MB / 489.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.3905, allocations: 12.03 kB / 489.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.125e-05/0.3906, allocations: 18.19 kB / 489.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.3907, allocations: 122.7 kB / 490 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.3914, allocations: 148.3 kB / 490.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.3929, allocations: 0.6772 MB / 490.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/0.3929, allocations: 53.94 kB / 490.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.393, allocations: 75.94 kB / 491 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3943, allocations: 0.7554 MB / 491.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3943, allocations: 3.938 kB / 491.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.3944, allocations: 35.94 kB / 491.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.3944, allocations: 23.98 kB / 491.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.3956, allocations: 0.6753 MB / 492.5 MB, free: 6.07 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007248/0.4029, allocations: 5.227 MB / 497.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.4047, allocations: 0.8797 MB / 498.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.4052, allocations: 254.8 kB / 498.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.4052, allocations: 12.66 kB / 498.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4053, allocations: 39.2 kB / 498.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 3.186e-06/0.4053, allocations: 0 / 498.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004814/0.4101, allocations: 1.558 MB / 0.4887 GB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.4102, allocations: 60.06 kB / 0.4888 GB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009252/0.4111, allocations: 0.5537 MB / 0.4893 GB, free: 12.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.4111, allocations: 41.7 kB / 0.4894 GB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.4115, allocations: 360.7 kB / 0.4897 GB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.4118, allocations: 281.5 kB / 0.49 GB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.4121, allocations: 130.6 kB / 0.4901 GB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.4123, allocations: 378.8 kB / 0.4905 GB, free: 11.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.4126, allocations: 205.9 kB / 0.4906 GB, free: 11.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.4131, allocations: 334 kB / 0.491 GB, free: 11.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.4141, allocations: 0.5797 MB / 0.4915 GB, free: 10.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.4141, allocations: 4 kB / 0.4915 GB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002069/0.4162, allocations: 0.9314 MB / 0.4924 GB, free: 9.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.4162, allocations: 11.98 kB / 0.4925 GB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.4162, allocations: 7.984 kB / 0.4925 GB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.4174, allocations: 295.5 kB / 0.4927 GB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.4182, allocations: 167.8 kB / 0.4929 GB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005513/0.4237, allocations: 3.344 MB / 0.4962 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/0.4246, allocations: 51.72 kB / 0.4962 GB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.4247, allocations: 28 kB / 0.4962 GB, free: 5.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.4251, allocations: 225.6 kB / 0.4965 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.4253, allocations: 75.53 kB / 0.4965 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.4273, allocations: 0.8646 MB / 0.4974 GB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.4273, allocations: 11.94 kB / 0.4974 GB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4273, allocations: 0 / 0.4974 GB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4273, allocations: 11.92 kB / 0.4974 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.4305, allocations: 1.909 MB / 0.4993 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4305, allocations: 3.938 kB / 0.4993 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/0.4311, allocations: 119.9 kB / 0.4994 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.4321, allocations: 293 kB / 0.4997 GB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.4322, allocations: 15.98 kB / 0.4997 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005049/0.4372, allocations: 3.248 MB / 0.5029 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4372, allocations: 0 / 0.5029 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.4393, allocations: 0.937 MB / 0.5038 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.4398, allocations: 228.5 kB / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.4399, allocations: 8 kB / 0.504 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.4404, allocations: 31.88 kB / 0.504 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.4405, allocations: 52.52 kB / 0.5041 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.4406, allocations: 27.98 kB / 0.5041 GB, free: 13.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005958/0.4412, allocations: 390.8 kB / 0.5045 GB, free: 12.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4412, allocations: 0 / 0.5045 GB, free: 12.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001124/0.4423, allocations: 327.8 kB / 0.5048 GB, free: 12.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002509/0.4448, allocations: 1.551 MB / 0.5063 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.4469, allocations: 0.8332 MB / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4469, allocations: 0 / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.448, allocations: 0.5479 MB / 0.5076 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.4488, allocations: 106.2 kB / 0.5077 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.4595, allocations: 6.006 MB / 0.5136 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/0.4603, allocations: 0.9428 MB / 0.5145 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.4607, allocations: 81.31 kB / 0.5146 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.4611, allocations: 259.3 kB / 0.5149 GB, free: 1.902 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4611, allocations: 0 / 0.5149 GB, free: 1.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05311/0.5142, allocations: 20.03 MB / 0.5344 GB, free: 13.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.79, allocations: 8.047 kB / 0.5344 GB, free: 13.84 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.927199790021405]