Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001278/0.001278, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001469/0.001469, allocations: 208.2 kB / 24.47 MB, free: 3.977 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.805 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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 51.86 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2103, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01505/0.2253, allocations: 11.99 MB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007545/0.2329, allocations: 3.714 MB / 448 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.2343, allocations: 119.4 kB / 448.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.2468, allocations: 5.164 MB / 453.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.2516, allocations: 1.414 MB / 454.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.2546, allocations: 1.196 MB / 455.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007929/0.2625, allocations: 6.479 MB / 462.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01286/0.2754, allocations: 9.157 MB / 471.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.2794, allocations: 3.359 MB / 474.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005045/0.2844, allocations: 3.89 MB / 478.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.2857, allocations: 0.8867 MB / 479.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.2876, allocations: 1.078 MB / 480.8 MB, free: 6.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.2893, allocations: 1.777 MB / 482.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003104/0.2924, allocations: 2.798 MB / 485.4 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.3045, allocations: 12.04 MB / 497.4 MB, free: 5.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3045, allocations: 3.984 kB / 497.4 MB, free: 5.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3045, allocations: 0 / 497.4 MB, free: 5.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.3047, allocations: 0 / 497.4 MB, free: 5.402 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01833/0.323, allocations: 7.841 MB / 0.4934 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3231, allocations: 8.031 kB / 0.4934 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/0.3425, allocations: 2.877 MB / 0.4962 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008273/0.3508, allocations: 3.74 MB / 0.4999 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/0.3512, allocations: 481 kB / 0.5003 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.3524, allocations: 0.621 MB / 0.5009 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/0.3692, allocations: 9.496 MB / 0.5102 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.3693, allocations: 11.95 kB / 0.5102 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007109/0.37, allocations: 260 kB / 0.5105 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003447/0.3704, allocations: 313.4 kB / 0.5108 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.3843, allocations: 7.938 MB / 0.5185 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2166/0.6008, allocations: 24.08 MB / 0.542 GB, free: 85.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007113/0.6079, allocations: 3.921 MB / 0.5459 GB, free: 85.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.6096, allocations: 1.451 MB / 0.5473 GB, free: 85.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.6098, allocations: 64.92 kB / 0.5473 GB, free: 85.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.6098, allocations: 61.12 kB / 0.5474 GB, free: 85.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.679e-06/0.6098, allocations: 0.625 kB / 0.5474 GB, free: 85.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.00652/0.6164, allocations: 4.029 MB / 0.5513 GB, free: 84.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.6164, allocations: 99.89 kB / 0.5514 GB, free: 84.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.6184, allocations: 1.959 MB / 0.5533 GB, free: 84.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.6185, allocations: 68.83 kB / 0.5534 GB, free: 83.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008585/0.6194, allocations: 2.642 MB / 0.556 GB, free: 82.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004119/0.6198, allocations: 0.8487 MB / 0.5568 GB, free: 81.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007388/0.6205, allocations: 0.6717 MB / 0.5575 GB, free: 81.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.6205, allocations: 312.6 kB / 0.5578 GB, free: 81.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.6221, allocations: 1.404 MB / 0.5591 GB, free: 80.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.624, allocations: 2.6 MB / 0.5617 GB, free: 78.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.6275, allocations: 4.251 MB / 0.5658 GB, free: 75.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.6275, allocations: 11.81 kB / 0.5658 GB, free: 75.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00518/0.6327, allocations: 4.531 MB / 0.5703 GB, free: 72.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.6327, allocations: 24 kB / 0.5703 GB, free: 72.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.6327, allocations: 36 kB / 0.5703 GB, free: 72.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/0.6334, allocations: 311.6 kB / 0.5706 GB, free: 71.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/0.6358, allocations: 0.7839 MB / 0.5714 GB, free: 71.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.6396, allocations: 4.732 MB / 0.576 GB, free: 66.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.6415, allocations: 417.1 kB / 0.5764 GB, free: 65.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.6417, allocations: 168 kB / 0.5766 GB, free: 65.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.002471/0.6442, allocations: 2.194 MB / 0.5787 GB, free: 63.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.6445, allocations: 214.6 kB / 0.5789 GB, free: 63.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.6486, allocations: 3.176 MB / 0.582 GB, free: 60.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.6486, allocations: 24 kB / 0.582 GB, free: 59.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6486, allocations: 4 kB / 0.582 GB, free: 59.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.6487, allocations: 11.95 kB / 0.5821 GB, free: 59.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.6613, allocations: 9.648 MB / 0.5915 GB, free: 50.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.6613, allocations: 16 kB / 0.5915 GB, free: 50.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.663, allocations: 438.2 kB / 0.5919 GB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006061/0.6636, allocations: 280.9 kB / 0.5922 GB, free: 49.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.6637, allocations: 71.92 kB / 0.5923 GB, free: 49.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/0.6675, allocations: 4.675 MB / 0.5968 GB, free: 44.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.6675, allocations: 23.88 kB / 0.5968 GB, free: 44.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.6727, allocations: 5.01 MB / 0.6017 GB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009513/0.6737, allocations: 485.8 kB / 0.6022 GB, free: 38.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/0.6739, allocations: 63.89 kB / 0.6023 GB, free: 38.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.6752, allocations: 119.9 kB / 0.6024 GB, free: 38.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.6754, allocations: 217.2 kB / 0.6026 GB, free: 38.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.6756, allocations: 87.98 kB / 0.6027 GB, free: 38.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.6769, allocations: 1.278 MB / 0.6039 GB, free: 37 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6769, allocations: 4.062 kB / 0.6039 GB, free: 37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003175/0.6801, allocations: 1.462 MB / 0.6053 GB, free: 35.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0003336/0.6804, allocations: 218.6 kB / 0.6056 GB, free: 35.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004141/0.6845, allocations: 3.495 MB / 0.609 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.6845, allocations: 3.828 kB / 0.609 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.6863, allocations: 1.603 MB / 0.6105 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.6887, allocations: 0.4973 MB / 0.611 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.7004, allocations: 10.09 MB / 0.6209 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/0.7031, allocations: 3.485 MB / 0.6243 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002417/0.7055, allocations: 1.191 MB / 0.6254 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/0.706, allocations: 203.4 kB / 0.6256 GB, free: 14.45 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.706, allocations: 0 / 0.6256 GB, free: 14.45 MB / 446.1 MB Notification: Performance of Templates: time 0.05731/0.7633, allocations: 37.38 MB / 0.6621 GB, free: 9.453 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.655574342992622]