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.001405/0.001405, allocations: 112.2 kB / 21.94 MB, free: 12 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.001596/0.001596, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.454/1.454, allocations: 207.6 MB / 236 MB, free: 9.977 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.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.002081/0.002081, allocations: 51.92 kB / 348.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3578, allocations: 49.16 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01682/0.3746, allocations: 14.68 MB / 412.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.3914, allocations: 3.978 MB / 416.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006269/0.3977, allocations: 103.9 kB / 416.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02243/0.4201, allocations: 5.651 MB / 422 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.433, allocations: 1.65 MB / 423.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007717/0.4407, allocations: 1.249 MB / 424.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01822/0.4589, allocations: 6.872 MB / 431.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02931/0.4882, allocations: 9.264 MB / 441.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009749/0.498, allocations: 3.569 MB / 444.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01248/0.5105, allocations: 4.166 MB / 448.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004031/0.5145, allocations: 0.9141 MB / 449.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006715/0.5212, allocations: 1.105 MB / 450.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00541/0.5266, allocations: 1.94 MB / 452.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01066/0.5373, allocations: 3.797 MB / 456.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02781/0.5651, allocations: 12.41 MB / 469 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5651, allocations: 0 / 469 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5651, allocations: 0 / 469 MB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003626/0.5655, allocations: 0 / 469 MB, free: 11.72 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.03761/0.6031, allocations: 8.37 MB / 477.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6031, allocations: 15.88 kB / 477.4 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/0.6341, allocations: 5.103 MB / 482.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009102/0.6432, allocations: 3.562 MB / 486 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005638/0.6437, allocations: 0.5097 MB / 486.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/0.6462, allocations: 0.6679 MB / 487.2 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/0.6736, allocations: 10.47 MB / 497.7 MB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/0.6739, allocations: 11.89 kB / 497.7 MB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002181/0.6761, allocations: 287.9 kB / 498 MB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004869/0.6765, allocations: 378.6 kB / 498.3 MB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.6977, allocations: 9.637 MB / 0.4961 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05985/0.7576, allocations: 30.07 MB / 0.5254 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.7701, allocations: 5.8 MB / 0.5311 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/0.7733, allocations: 1.745 MB / 0.5328 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.7844, allocations: 5.046 MB / 0.5377 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.7845, allocations: 44 kB / 0.5378 GB, free: 9.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 3.176e-06/0.7845, allocations: 0 / 0.5378 GB, free: 9.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.006868/0.7914, allocations: 3.027 MB / 0.5407 GB, free: 6.473 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.7914, allocations: 94.55 kB / 0.5408 GB, free: 6.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/0.7963, allocations: 2.628 MB / 0.5434 GB, free: 3.703 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.7964, allocations: 45.7 kB / 0.5434 GB, free: 3.652 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002643/0.799, allocations: 3.236 MB / 0.5466 GB, free: 396 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/0.7997, allocations: 0.5776 MB / 0.5472 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.8011, allocations: 0.8098 MB / 0.5479 GB, free: 14.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.8013, allocations: 304.9 kB / 0.5482 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.8038, allocations: 1.464 MB / 0.5497 GB, free: 13.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/0.8077, allocations: 3.265 MB / 0.5529 GB, free: 9.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006172/0.8138, allocations: 4.816 MB / 0.5576 GB, free: 3.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.185e-05/0.8139, allocations: 20 kB / 0.5576 GB, free: 3.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.1963/1.01, allocations: 5.089 MB / 0.5625 GB, free: 136.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/1.01, allocations: 30.88 kB / 0.5626 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.01, allocations: 60.22 kB / 0.5626 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008764/1.011, allocations: 340.7 kB / 0.563 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/1.014, allocations: 0.8802 MB / 0.5638 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/1.019, allocations: 4.843 MB / 0.5686 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.022, allocations: 0.5538 MB / 0.5691 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/1.023, allocations: 209.1 kB / 0.5693 GB, free: 133.6 MB / 478.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.003685/1.026, allocations: 2.33 MB / 0.5716 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/1.027, allocations: 240.6 kB / 0.5718 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/1.031, allocations: 2.31 MB / 0.5741 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.031, allocations: 19.59 kB / 0.5741 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.031, allocations: 5.062 kB / 0.5741 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/1.031, allocations: 11.67 kB / 0.5741 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00788/1.038, allocations: 5.338 MB / 0.5793 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.038, allocations: 1.812 kB / 0.5793 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.04, allocations: 265.1 kB / 0.5796 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006045/1.04, allocations: 259.8 kB / 0.5798 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/1.04, allocations: 31.56 kB / 0.5798 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/1.044, allocations: 4.733 MB / 0.5845 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.044, allocations: 5.391 kB / 0.5845 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/1.048, allocations: 3.309 MB / 0.5877 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009692/1.049, allocations: 404.9 kB / 0.5881 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/1.049, allocations: 27.88 kB / 0.5881 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.05, allocations: 94.09 kB / 0.5882 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.051, allocations: 113.7 kB / 0.5883 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/1.051, allocations: 48.83 kB / 0.5883 GB, free: 124.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001982/1.053, allocations: 1.713 MB / 0.59 GB, free: 123.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.053, allocations: 0 / 0.59 GB, free: 123.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003835/1.057, allocations: 1.547 MB / 0.5915 GB, free: 123.2 MB / 478.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.0003117/1.057, allocations: 167.5 kB / 0.5917 GB, free: 123.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/1.061, allocations: 3.341 MB / 0.595 GB, free: 121.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.061, allocations: 5.984 kB / 0.595 GB, free: 121.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.063, allocations: 1.185 MB / 0.5961 GB, free: 121.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.065, allocations: 0.4884 MB / 0.5966 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.079, allocations: 9.981 MB / 0.6063 GB, free: 113.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/1.082, allocations: 4.076 MB / 0.6103 GB, free: 110.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/1.083, allocations: 223.4 kB / 0.6105 GB, free: 110 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/1.083, allocations: 0 / 0.6105 GB, free: 110 MB / 478.1 MB Notification: Performance of Templates: time 0.117/1.2, allocations: 131.3 MB / 0.7388 GB, free: 10.45 MB / 0.4981 GB " [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 -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: 12.70676117693074]