Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.0008622/0.0008622, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003661/0.003661, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8661/0.8661, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.261e-05, allocations: 10.28 kB / 298.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1416/0.1416, allocations: 8.468 MB / 306.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00482/0.1464, allocations: 2.648 MB / 309.6 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.1475, allocations: 66.62 kB / 309.6 MB, free: 9.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004077/0.1516, allocations: 3.702 MB / 313.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.1545, allocations: 0.9508 MB / 314.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.1561, allocations: 0.9088 MB / 315.2 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.1598, allocations: 4.067 MB / 319.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006327/0.1661, allocations: 6.239 MB / 325.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.1713, allocations: 3.342 MB / 328.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/0.175, allocations: 2.205 MB / 331 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.1763, allocations: 0.6079 MB / 331.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.1783, allocations: 0.82 MB / 332.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.1791, allocations: 1.223 MB / 333.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002625/0.1817, allocations: 1.618 MB / 335.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007933/0.1896, allocations: 8.221 MB / 343.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1896, allocations: 4 kB / 343.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1896, allocations: 0 / 343.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001803/0.1898, allocations: 0 / 343.5 MB, free: 1.621 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.008932/0.1987, allocations: 5.14 MB / 348.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1988, allocations: 11.98 kB / 348.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006884/0.1995, allocations: 0.6377 MB / 349.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007073/0.2066, allocations: 2.59 MB / 351.9 MB, free: 9.172 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.2102, allocations: 2.161 MB / 354.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.2104, allocations: 341 kB / 354.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000643/0.211, allocations: 436 kB / 354.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009602/0.2206, allocations: 6.145 MB / 361 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.227e-05/0.2207, allocations: 3.953 kB / 361 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.221, allocations: 184.1 kB / 361.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.2212, allocations: 209.3 kB / 361.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009213/0.2304, allocations: 5.76 MB / 367.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.2525, allocations: 18.65 MB / 385.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.2559, allocations: 2.699 MB / 388.5 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.257, allocations: 0.9068 MB / 389.4 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003109/0.2601, allocations: 2.345 MB / 391.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2601, allocations: 42.73 kB / 391.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/0.2601, allocations: 0 / 391.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008009/0.2609, allocations: 0.6444 MB / 392.4 MB, free: 96 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.261, allocations: 55.41 kB / 392.5 MB, free: 28 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.263, allocations: 2.095 MB / 394.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.263, allocations: 29.7 kB / 394.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.2642, allocations: 2.268 MB / 396.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2643, allocations: 143.1 kB / 397 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.2651, allocations: 0.5435 MB / 397.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2652, allocations: 345.9 kB / 397.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008773/0.2661, allocations: 0.8832 MB / 398.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.2676, allocations: 2.247 MB / 401 MB, free: 6.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.2701, allocations: 3.067 MB / 404.1 MB, free: 3.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/0.2702, allocations: 16 kB / 404.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003242/0.2734, allocations: 3.13 MB / 407.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.2734, allocations: 24.62 kB / 407.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.364e-05/0.2735, allocations: 48 kB / 407.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.614e-05/0.2736, allocations: 67.94 kB / 407.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2746, allocations: 0.5927 MB / 408 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.205e-05/0.2746, allocations: 96.27 kB / 408.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.2759, allocations: 417.3 kB / 408.5 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.276, allocations: 140 kB / 408.6 MB, free: 14.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001943/0.2779, allocations: 1.562 MB / 410.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.2781, allocations: 143 kB / 410.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.2788, allocations: 0.6097 MB / 410.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002805/0.2791, allocations: 325.4 kB / 411.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2791, allocations: 3.938 kB / 411.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2791, allocations: 0 / 411.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.2831, allocations: 3.719 MB / 415 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2831, allocations: 4 kB / 415 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2833, allocations: 63.89 kB / 415 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2833, allocations: 4 kB / 415 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.2833, allocations: 16.53 kB / 415 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.2833, allocations: 11.94 kB / 415 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2833, allocations: 8 kB / 415.1 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.284, allocations: 0.8911 MB / 415.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.2845, allocations: 198.9 kB / 416.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-05/0.2845, allocations: 12 kB / 416.2 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.2849, allocations: 39.94 kB / 416.2 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.2849, allocations: 35.84 kB / 416.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2849, allocations: 12 kB / 416.2 MB, free: 6.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001195/0.2861, allocations: 1.347 MB / 417.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2861, allocations: 0 / 417.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001982/0.2881, allocations: 0.9299 MB / 418.5 MB, free: 4.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.plug_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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.2894, allocations: 1.477 MB / 420 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.2916, allocations: 1.587 MB / 421.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2916, allocations: 0 / 421.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.2918, allocations: 177.3 kB / 421.8 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/0.2928, allocations: 307.1 kB / 422.1 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/0.3142, allocations: 19.25 MB / 441.3 MB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.316, allocations: 2.343 MB / 443.6 MB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001155/0.3172, allocations: 0.7748 MB / 444.4 MB, free: 8.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000936/0.3181, allocations: 1.215 MB / 445.6 MB, free: 7.293 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3181, allocations: 0 / 445.6 MB, free: 7.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1944/0.5125, allocations: 42.37 MB / 488 MB, free: 132.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.06, allocations: 3.25 kB / 488 MB, free: 132.9 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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: 9.750472623854876]