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.002139/0.002139, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002376/0.002376, allocations: 210.4 kB / 24.47 MB, free: 3.547 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.576/1.576, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [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.001945/0.001945, allocations: 51.92 kB / 347.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.261, allocations: 49.16 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.0092/0.2702, allocations: 8.46 MB / 405.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.2764, allocations: 2.655 MB / 408 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009286/0.2773, allocations: 69.59 kB / 408 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007652/0.285, allocations: 3.504 MB / 411.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.2883, allocations: 0.9195 MB / 412.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.2909, allocations: 0.9178 MB / 413.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005226/0.2962, allocations: 3.939 MB / 417.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01302/0.3092, allocations: 6.212 MB / 423.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.3135, allocations: 2.27 MB / 425.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.3184, allocations: 2.464 MB / 428.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.3199, allocations: 0.6094 MB / 428.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.3226, allocations: 0.8045 MB / 429.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.324, allocations: 1.204 MB / 430.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00277/0.3268, allocations: 1.879 MB / 432.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009526/0.3363, allocations: 8.205 MB / 441 MB, free: 6.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3363, allocations: 0 / 441 MB, free: 6.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3363, allocations: 3.938 kB / 441 MB, free: 6.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001899/0.3365, allocations: 0 / 441 MB, free: 6.922 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01371/0.3502, allocations: 5.171 MB / 446.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3503, allocations: 19.92 kB / 446.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/0.366, allocations: 2.585 MB / 448.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/0.3723, allocations: 2.165 MB / 450.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.3727, allocations: 333.1 kB / 451.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.374, allocations: 440 kB / 451.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.3867, allocations: 6.136 MB / 457.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.3868, allocations: 7.953 kB / 457.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/0.3872, allocations: 183.9 kB / 458 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/0.3874, allocations: 213.3 kB / 458.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.3984, allocations: 5.763 MB / 464 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.4314, allocations: 17.85 MB / 481.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006843/0.4382, allocations: 2.695 MB / 484.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.44, allocations: 0.8946 MB / 485.4 MB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006601/0.4466, allocations: 2.368 MB / 487.8 MB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.4466, allocations: 34.8 kB / 487.8 MB, free: 7.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.066e-06/0.4466, allocations: 0 / 487.8 MB, free: 7.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00137/0.448, allocations: 0.6576 MB / 488.5 MB, free: 6.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.448, allocations: 55.41 kB / 488.5 MB, free: 6.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/0.4516, allocations: 2.083 MB / 490.6 MB, free: 4.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.4517, allocations: 37.7 kB / 490.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.4535, allocations: 2.272 MB / 492.9 MB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.4537, allocations: 143.1 kB / 493 MB, free: 2.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009/0.4546, allocations: 0.5513 MB / 493.6 MB, free: 1.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4548, allocations: 349.9 kB / 493.9 MB, free: 1.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.4563, allocations: 0.8754 MB / 494.8 MB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.4589, allocations: 2.247 MB / 497.1 MB, free: 13.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.4628, allocations: 3.067 MB / 0.4884 GB, free: 9.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.487e-05/0.4628, allocations: 12 kB / 0.4884 GB, free: 9.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00553/0.4684, allocations: 3.13 MB / 0.4915 GB, free: 6.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.4684, allocations: 31.91 kB / 0.4915 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.4686, allocations: 51.94 kB / 0.4916 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.679e-05/0.4686, allocations: 64 kB / 0.4916 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.4706, allocations: 0.5933 MB / 0.4922 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001078/0.4707, allocations: 95.64 kB / 0.4923 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.473, allocations: 417.3 kB / 0.4927 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.4732, allocations: 144 kB / 0.4928 GB, free: 5.176 MB / 414.1 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.002658/0.4759, allocations: 1.562 MB / 0.4943 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.4762, allocations: 135.1 kB / 0.4945 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.4774, allocations: 0.6212 MB / 0.4951 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005005/0.4779, allocations: 321.4 kB / 0.4954 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4779, allocations: 3.984 kB / 0.4954 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4779, allocations: 0 / 0.4954 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/0.4838, allocations: 2.733 MB / 0.4981 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4838, allocations: 4 kB / 0.4981 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.4841, allocations: 55.91 kB / 0.4981 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.4841, allocations: 15.88 kB / 0.4981 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.4842, allocations: 12.58 kB / 0.4981 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.4842, allocations: 8 kB / 0.4982 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.4842, allocations: 11.94 kB / 0.4982 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.4856, allocations: 0.8964 MB / 0.499 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007363/0.4863, allocations: 186.9 kB / 0.4992 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003898/0.4867, allocations: 15.98 kB / 0.4992 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/0.4876, allocations: 43.94 kB / 0.4993 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.4876, allocations: 31.84 kB / 0.4993 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.4877, allocations: 24.06 kB / 0.4993 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.4903, allocations: 1.323 MB / 0.5006 GB, free: 12.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4903, allocations: 0 / 0.5006 GB, free: 12.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003824/0.4941, allocations: 0.9415 MB / 0.5015 GB, free: 12.02 MB / 430.1 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.000353/0.4945, allocations: 147.1 kB / 0.5017 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003242/0.4977, allocations: 1.58 MB / 0.5032 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.4977, allocations: 4.25 kB / 0.5032 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.498, allocations: 175.6 kB / 0.5034 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.4999, allocations: 302.2 kB / 0.5037 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.5136, allocations: 6.005 MB / 0.5096 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004002/0.5176, allocations: 2.35 MB / 0.5118 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002155/0.5198, allocations: 0.7709 MB / 0.5126 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.5201, allocations: 103.4 kB / 0.5127 GB, free: 452 kB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5201, allocations: 0 / 0.5127 GB, free: 452 kB / 430.1 MB Notification: Performance of Templates: time 0.04069/0.5608, allocations: 20.07 MB / 0.5323 GB, free: 12.32 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/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: 5.313780007883906]