Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001299/0.001299, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001452/0.001452, allocations: 211.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 43.94 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 53.38 MB / 431.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01156/0.2528, allocations: 8.004 MB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005494/0.2583, allocations: 2.531 MB / 441.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009319/0.2593, allocations: 79.62 kB / 441.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008392/0.2676, allocations: 3.464 MB / 445.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.2702, allocations: 0.7517 MB / 445.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.2725, allocations: 0.9172 MB / 446.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.2769, allocations: 3.646 MB / 450.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008957/0.2859, allocations: 6.187 MB / 456.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.2891, allocations: 2.143 MB / 458.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003827/0.2929, allocations: 2.39 MB / 461.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.2942, allocations: 0.5859 MB / 461.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.2961, allocations: 0.8123 MB / 462.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.2971, allocations: 1.103 MB / 463.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.2997, allocations: 1.782 MB / 465.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008951/0.3087, allocations: 7.955 MB / 473.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3087, allocations: 0 / 473.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3087, allocations: 3.938 kB / 473.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001779/0.3088, allocations: 0 / 473.4 MB, free: 12.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01321/0.322, allocations: 4.868 MB / 478.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3221, allocations: 8.031 kB / 478.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/0.3232, allocations: 0.5923 MB / 478.9 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008133/0.3313, allocations: 1.286 MB / 480.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005365/0.3367, allocations: 2.309 MB / 482.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.3369, allocations: 316.4 kB / 482.8 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008669/0.3378, allocations: 411.9 kB / 483.2 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009811/0.3476, allocations: 5.502 MB / 488.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-05/0.3477, allocations: 0 / 488.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/0.3481, allocations: 179.9 kB / 488.9 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/0.3483, allocations: 176.6 kB / 489.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008365/0.3567, allocations: 4.796 MB / 493.9 MB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.027/0.3837, allocations: 17.08 MB / 0.499 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/0.3878, allocations: 1.749 MB / 0.5007 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3891, allocations: 0.7223 MB / 0.5014 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.3893, allocations: 40.95 kB / 0.5014 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.3893, allocations: 43.56 kB / 0.5015 GB, free: 3.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.116e-06/0.3893, allocations: 0 / 0.5015 GB, free: 3.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002662/0.392, allocations: 1.569 MB / 0.503 GB, free: 1.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3921, allocations: 60.41 kB / 0.5031 GB, free: 1.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.3941, allocations: 1.4 MB / 0.5044 GB, free: 180 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.3941, allocations: 41.7 kB / 0.5045 GB, free: 132 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.3955, allocations: 1.827 MB / 0.5063 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/0.3959, allocations: 377 kB / 0.5066 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006221/0.3965, allocations: 455.7 kB / 0.507 GB, free: 13.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3967, allocations: 353.9 kB / 0.5074 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.3979, allocations: 0.8279 MB / 0.5082 GB, free: 12.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.4, allocations: 1.827 MB / 0.51 GB, free: 9.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.4036, allocations: 2.794 MB / 0.5127 GB, free: 6.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.4036, allocations: 12 kB / 0.5127 GB, free: 6.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004279/0.4079, allocations: 2.746 MB / 0.5154 GB, free: 3.926 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4079, allocations: 20 kB / 0.5154 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.16e-05/0.4079, allocations: 36 kB / 0.5155 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.305e-05/0.408, allocations: 52.72 kB / 0.5155 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.4097, allocations: 0.5303 MB / 0.516 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.859e-05/0.4098, allocations: 71.72 kB / 0.5161 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.411, allocations: 286 kB / 0.5164 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.4112, allocations: 119.9 kB / 0.5165 GB, free: 2.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002207/0.4134, allocations: 1.48 MB / 0.5179 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4136, allocations: 127.2 kB / 0.518 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.416, allocations: 1.466 MB / 0.5195 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001578/0.4176, allocations: 1.037 MB / 0.5205 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4176, allocations: 4 kB / 0.5205 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4176, allocations: 7.984 kB / 0.5205 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.4349, allocations: 10.94 MB / 0.5312 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.4349, allocations: 24.03 kB / 0.5312 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/0.4358, allocations: 235.5 kB / 0.5314 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-05/0.4358, allocations: 28 kB / 0.5315 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.548e-05/0.4359, allocations: 47.98 kB / 0.5315 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.454e-05/0.4359, allocations: 39.86 kB / 0.5315 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-05/0.436, allocations: 31.88 kB / 0.5316 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1948/0.6308, allocations: 2.676 MB / 0.5342 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009147/0.6317, allocations: 266.8 kB / 0.5344 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.6319, allocations: 50.53 kB / 0.5345 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.6328, allocations: 70.61 kB / 0.5346 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.633, allocations: 148.7 kB / 0.5347 GB, free: 96.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.6331, allocations: 58.92 kB / 0.5348 GB, free: 96.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.6344, allocations: 0.9092 MB / 0.5356 GB, free: 96.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6344, allocations: 0 / 0.5356 GB, free: 96.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002471/0.6369, allocations: 0.8804 MB / 0.5365 GB, free: 96.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.003346/0.6402, allocations: 3.313 MB / 0.5397 GB, free: 94.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.6431, allocations: 1.842 MB / 0.5415 GB, free: 94.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.217e-05/0.6431, allocations: 3.969 kB / 0.5415 GB, free: 94.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008463/0.644, allocations: 0.6171 MB / 0.5421 GB, free: 93.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.646, allocations: 339.4 kB / 0.5425 GB, free: 93.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.6658, allocations: 18.61 MB / 0.5606 GB, free: 79.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.6676, allocations: 2.253 MB / 0.5628 GB, free: 78.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001432/0.669, allocations: 0.7671 MB / 0.5636 GB, free: 77.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.6701, allocations: 1.144 MB / 0.5647 GB, free: 76.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.203e-06/0.6701, allocations: 4 kB / 0.5647 GB, free: 76.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0668/0.7369, allocations: 41.55 MB / 0.6053 GB, free: 35.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.92, allocations: 1.969 kB / 0.6053 GB, free: 35.27 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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: 15.319554704998154]