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.00173/0.00173, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001976/0.001976, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.072/2.072, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.002689/0.002689, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3882, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02685/0.4151, allocations: 12.02 MB / 444.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4283, allocations: 3.71 MB / 448.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/0.4315, allocations: 119.4 kB / 448.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02108/0.4526, allocations: 5.156 MB / 453.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009614/0.4622, allocations: 1.414 MB / 454.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006169/0.4684, allocations: 1.182 MB / 455.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.4831, allocations: 6.483 MB / 462.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02088/0.504, allocations: 9.153 MB / 471.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007167/0.5111, allocations: 3.363 MB / 474.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007552/0.5187, allocations: 3.89 MB / 478.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002703/0.5214, allocations: 0.8867 MB / 479.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/0.5268, allocations: 1.078 MB / 480.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004205/0.531, allocations: 1.777 MB / 482.6 MB, free: 4.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007441/0.5385, allocations: 2.794 MB / 485.4 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02317/0.5616, allocations: 12.04 MB / 497.4 MB, free: 5.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.5616, allocations: 11.92 kB / 497.4 MB, free: 5.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5616, allocations: 0 / 497.4 MB, free: 5.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003597/0.562, allocations: 0 / 497.4 MB, free: 5.328 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.03732/0.5993, allocations: 7.83 MB / 0.4934 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.5994, allocations: 12.03 kB / 0.4934 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03026/0.6296, allocations: 2.873 MB / 0.4962 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.6416, allocations: 3.748 MB / 0.4999 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005898/0.6422, allocations: 481 kB / 0.5003 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/0.6447, allocations: 0.6249 MB / 0.5009 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/0.6728, allocations: 9.488 MB / 0.5102 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003128/0.6731, allocations: 7.953 kB / 0.5102 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/0.675, allocations: 263.9 kB / 0.5105 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003633/0.6753, allocations: 317.4 kB / 0.5108 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/0.697, allocations: 7.946 MB / 0.5185 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4715/1.168, allocations: 24.08 MB / 0.542 GB, free: 85.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008112/1.177, allocations: 3.911 MB / 0.5459 GB, free: 85.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/1.179, allocations: 1.444 MB / 0.5473 GB, free: 85.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/1.179, allocations: 63.11 kB / 0.5473 GB, free: 85.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/1.179, allocations: 62.94 kB / 0.5474 GB, free: 84.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.961e-06/1.179, allocations: 4.547 kB / 0.5474 GB, free: 84.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.007737/1.187, allocations: 4.033 MB / 0.5513 GB, free: 84.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/1.187, allocations: 101.7 kB / 0.5514 GB, free: 84.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/1.189, allocations: 1.962 MB / 0.5534 GB, free: 83.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/1.19, allocations: 65.27 kB / 0.5534 GB, free: 83.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.191, allocations: 2.638 MB / 0.556 GB, free: 82.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007559/1.192, allocations: 0.8542 MB / 0.5568 GB, free: 81.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009171/1.193, allocations: 0.6693 MB / 0.5575 GB, free: 81.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/1.193, allocations: 305.1 kB / 0.5578 GB, free: 81.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.195, allocations: 1.408 MB / 0.5591 GB, free: 80.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/1.197, allocations: 2.602 MB / 0.5617 GB, free: 78.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/1.201, allocations: 4.25 MB / 0.5658 GB, free: 75.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/1.201, allocations: 10.66 kB / 0.5658 GB, free: 75.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006024/1.207, allocations: 4.53 MB / 0.5703 GB, free: 72.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/1.207, allocations: 22.66 kB / 0.5703 GB, free: 72.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/1.207, allocations: 43.62 kB / 0.5703 GB, free: 72.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007399/1.208, allocations: 315.2 kB / 0.5706 GB, free: 71.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.21, allocations: 0.78 MB / 0.5714 GB, free: 70.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/1.214, allocations: 4.737 MB / 0.576 GB, free: 66.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.217, allocations: 417.1 kB / 0.5764 GB, free: 65.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.217, allocations: 160 kB / 0.5766 GB, free: 65.48 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.003282/1.22, allocations: 2.196 MB / 0.5787 GB, free: 63.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/1.221, allocations: 218.7 kB / 0.5789 GB, free: 63.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/1.225, allocations: 3.171 MB / 0.582 GB, free: 59.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/1.225, allocations: 31.98 kB / 0.582 GB, free: 59.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.225, allocations: 4 kB / 0.5821 GB, free: 59.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/1.225, allocations: 15.89 kB / 0.5821 GB, free: 59.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/1.24, allocations: 9.642 MB / 0.5915 GB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/1.24, allocations: 15.94 kB / 0.5915 GB, free: 49.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.241, allocations: 451.3 kB / 0.5919 GB, free: 49.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/1.242, allocations: 268 kB / 0.5922 GB, free: 49.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/1.242, allocations: 75.97 kB / 0.5923 GB, free: 49.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004038/1.246, allocations: 4.662 MB / 0.5968 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/1.246, allocations: 24.69 kB / 0.5968 GB, free: 44.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006023/1.252, allocations: 5.014 MB / 0.6017 GB, free: 39.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.254, allocations: 485.7 kB / 0.6022 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/1.254, allocations: 64.05 kB / 0.6023 GB, free: 38.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.255, allocations: 119.9 kB / 0.6024 GB, free: 38.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.256, allocations: 221.2 kB / 0.6026 GB, free: 38.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.256, allocations: 83.98 kB / 0.6027 GB, free: 38.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00168/1.257, allocations: 1.278 MB / 0.6039 GB, free: 36.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/1.257, allocations: 3.938 kB / 0.6039 GB, free: 36.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004224/1.262, allocations: 1.463 MB / 0.6053 GB, free: 35.36 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.000488/1.262, allocations: 226.4 kB / 0.6056 GB, free: 35.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004948/1.267, allocations: 3.491 MB / 0.609 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/1.267, allocations: 0 / 0.609 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001965/1.269, allocations: 1.604 MB / 0.6105 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/1.272, allocations: 0.5029 MB / 0.611 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.288, allocations: 10.09 MB / 0.6209 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/1.291, allocations: 3.497 MB / 0.6243 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002692/1.294, allocations: 1.191 MB / 0.6255 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/1.294, allocations: 203.4 kB / 0.6256 GB, free: 14.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/1.294, allocations: 0 / 0.6256 GB, free: 14.27 MB / 446.1 MB Notification: Performance of Templates: time 0.06132/1.355, allocations: 37.37 MB / 0.6621 GB, free: 9.277 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 cvode -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: 7.775929752009688]