Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.001322/0.001322, allocations: 84.88 kB / 22 MB, free: 4.754 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.001416/0.001416, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.305/1.305, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 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: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [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.001928/0.001928, allocations: 55.92 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1961, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01523/0.2113, allocations: 12.54 MB / 361.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008106/0.2194, allocations: 3.851 MB / 364.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.2214, allocations: 99.56 kB / 365 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01314/0.2345, allocations: 5.512 MB / 370.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006045/0.2405, allocations: 1.62 MB / 372.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.2441, allocations: 1.196 MB / 373.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009339/0.2535, allocations: 6.853 MB / 380.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.2673, allocations: 9.191 MB / 389.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005626/0.273, allocations: 3.577 MB / 393 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006614/0.2796, allocations: 4.014 MB / 397 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.2818, allocations: 0.9141 MB / 397.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.285, allocations: 1.097 MB / 399 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002499/0.2875, allocations: 1.921 MB / 400.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004629/0.2921, allocations: 2.988 MB / 403.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.3063, allocations: 12.48 MB / 416.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3063, allocations: 0 / 416.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3063, allocations: 3.938 kB / 416.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002763/0.3066, allocations: 0 / 416.4 MB, free: 11.34 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02231/0.3289, allocations: 8.362 MB / 424.7 MB, free: 2.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.329, allocations: 12.03 kB / 424.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03286/0.3618, allocations: 5.107 MB / 429.9 MB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008153/0.37, allocations: 3.569 MB / 433.4 MB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004885/0.3705, allocations: 0.5058 MB / 433.9 MB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/0.3727, allocations: 0.664 MB / 434.6 MB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/0.3971, allocations: 10.63 MB / 445.2 MB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/0.3973, allocations: 11.95 kB / 445.2 MB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.3987, allocations: 283.9 kB / 445.5 MB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004598/0.3992, allocations: 382.6 kB / 445.9 MB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.4181, allocations: 9.586 MB / 455.5 MB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.226/0.6441, allocations: 26.53 MB / 482 MB, free: 91.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.6544, allocations: 5.727 MB / 487.7 MB, free: 91.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.6565, allocations: 1.741 MB / 489.5 MB, free: 91.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007599/0.6641, allocations: 4.732 MB / 494.2 MB, free: 89.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.6641, allocations: 51.69 kB / 494.3 MB, free: 89.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 3.868e-06/0.6641, allocations: 2.062 kB / 494.3 MB, free: 89.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.005314/0.6695, allocations: 3.024 MB / 497.3 MB, free: 88.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.6695, allocations: 92.98 kB / 497.4 MB, free: 88.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.6724, allocations: 2.734 MB / 0.4884 GB, free: 87.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6725, allocations: 48.64 kB / 0.4884 GB, free: 87.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.6736, allocations: 3.24 MB / 0.4916 GB, free: 85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.6739, allocations: 0.5744 MB / 0.4922 GB, free: 84.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008451/0.6747, allocations: 0.8021 MB / 0.493 GB, free: 84.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.6748, allocations: 304.7 kB / 0.4932 GB, free: 83.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.6764, allocations: 1.465 MB / 0.4947 GB, free: 83.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.6786, allocations: 3.263 MB / 0.4979 GB, free: 79.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.6824, allocations: 4.82 MB / 0.5026 GB, free: 73.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-05/0.6824, allocations: 16 kB / 0.5026 GB, free: 73.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00637/0.6888, allocations: 5.095 MB / 0.5076 GB, free: 68.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.6888, allocations: 32 kB / 0.5076 GB, free: 68.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-05/0.6889, allocations: 60 kB / 0.5076 GB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.6896, allocations: 342.8 kB / 0.508 GB, free: 67.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.6923, allocations: 0.8813 MB / 0.5088 GB, free: 66.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.6961, allocations: 4.748 MB / 0.5135 GB, free: 62.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/0.6993, allocations: 0.5432 MB / 0.514 GB, free: 61.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004991/0.6998, allocations: 216 kB / 0.5142 GB, free: 61.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003112/0.7029, allocations: 2.327 MB / 0.5165 GB, free: 58.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/0.7033, allocations: 234.4 kB / 0.5167 GB, free: 58.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.7067, allocations: 2.321 MB / 0.519 GB, free: 56.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.7067, allocations: 16 kB / 0.519 GB, free: 56.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.7067, allocations: 8 kB / 0.519 GB, free: 56.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.7067, allocations: 7.969 kB / 0.519 GB, free: 56.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006852/0.7136, allocations: 3.863 MB / 0.5228 GB, free: 52.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.7136, allocations: 0 / 0.5228 GB, free: 52.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.7147, allocations: 255.7 kB / 0.523 GB, free: 52.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005814/0.7153, allocations: 257.8 kB / 0.5233 GB, free: 51.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.7154, allocations: 35.98 kB / 0.5233 GB, free: 51.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003801/0.7192, allocations: 4.636 MB / 0.5278 GB, free: 47.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7192, allocations: 0 / 0.5278 GB, free: 47.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/0.723, allocations: 3.299 MB / 0.531 GB, free: 43.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/0.7238, allocations: 402 kB / 0.5314 GB, free: 43.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.7241, allocations: 35.94 kB / 0.5315 GB, free: 43.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.7252, allocations: 99.89 kB / 0.5316 GB, free: 43.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.7254, allocations: 105.3 kB / 0.5317 GB, free: 43.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.7254, allocations: 48.06 kB / 0.5317 GB, free: 43.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00183/0.7273, allocations: 1.706 MB / 0.5334 GB, free: 41.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7273, allocations: 3.938 kB / 0.5334 GB, free: 41.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003471/0.7307, allocations: 1.541 MB / 0.5349 GB, free: 39.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/0.731, allocations: 163 kB / 0.535 GB, free: 39.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.735, allocations: 3.349 MB / 0.5383 GB, free: 36.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7351, allocations: 0 / 0.5383 GB, free: 36.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.7364, allocations: 1.186 MB / 0.5395 GB, free: 35.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.7384, allocations: 492.7 kB / 0.5399 GB, free: 34.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.7515, allocations: 10.11 MB / 0.5498 GB, free: 24.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/0.7545, allocations: 3.672 MB / 0.5534 GB, free: 20.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002754/0.7573, allocations: 1.283 MB / 0.5546 GB, free: 19.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.7577, allocations: 184.5 kB / 0.5548 GB, free: 19.24 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7577, allocations: 0 / 0.5548 GB, free: 19.24 MB / 430.1 MB Notification: Performance of Templates: time 0.04953/0.8072, allocations: 29.7 MB / 0.5838 GB, free: 5.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.519052376039326]