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.001294/0.001294, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001379/0.001379, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.758 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.001566/0.001566, allocations: 51.91 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2159, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01533/0.2312, allocations: 12 MB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007204/0.2384, allocations: 3.714 MB / 448.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009853/0.2394, allocations: 119.4 kB / 448.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.2512, allocations: 5.162 MB / 453.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004363/0.2556, allocations: 1.406 MB / 454.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.2585, allocations: 1.182 MB / 455.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007634/0.2661, allocations: 6.49 MB / 462.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.2789, allocations: 9.153 MB / 471.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.2829, allocations: 3.363 MB / 474.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004925/0.2878, allocations: 3.893 MB / 478.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.2891, allocations: 0.8828 MB / 479.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.291, allocations: 1.082 MB / 480.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.2925, allocations: 1.773 MB / 482.6 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.2956, allocations: 2.79 MB / 485.4 MB, free: 1.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.3081, allocations: 12.05 MB / 497.4 MB, free: 5.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3081, allocations: 0 / 497.4 MB, free: 5.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3081, allocations: 0 / 497.4 MB, free: 5.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001774/0.3082, allocations: 3.938 kB / 497.4 MB, free: 5.355 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.0181/0.3263, allocations: 7.834 MB / 0.4934 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3264, allocations: 12.03 kB / 0.4934 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/0.3466, allocations: 2.873 MB / 0.4962 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008469/0.3551, allocations: 3.744 MB / 0.4999 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000399/0.3555, allocations: 485 kB / 0.5003 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.3567, allocations: 0.6171 MB / 0.5009 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.3739, allocations: 9.492 MB / 0.5102 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.3741, allocations: 11.94 kB / 0.5102 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006931/0.3748, allocations: 264 kB / 0.5105 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.3751, allocations: 317.4 kB / 0.5108 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.3888, allocations: 7.934 MB / 0.5185 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2115/0.6003, allocations: 24.09 MB / 0.5421 GB, free: 85.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007222/0.6075, allocations: 3.909 MB / 0.5459 GB, free: 85.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.6093, allocations: 1.449 MB / 0.5473 GB, free: 85.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.6095, allocations: 69.05 kB / 0.5474 GB, free: 85.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.6095, allocations: 61.3 kB / 0.5474 GB, free: 85.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.05e-06/0.6095, allocations: 0.5312 kB / 0.5474 GB, free: 85.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.00663/0.6162, allocations: 4.026 MB / 0.5513 GB, free: 84.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.6162, allocations: 101.7 kB / 0.5514 GB, free: 84.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.6183, allocations: 1.96 MB / 0.5534 GB, free: 83.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.6184, allocations: 65.17 kB / 0.5534 GB, free: 83.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/0.6192, allocations: 2.641 MB / 0.556 GB, free: 82.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.6196, allocations: 0.855 MB / 0.5568 GB, free: 81.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007332/0.6203, allocations: 0.6699 MB / 0.5575 GB, free: 81.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.6204, allocations: 305.1 kB / 0.5578 GB, free: 81.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.6219, allocations: 1.409 MB / 0.5592 GB, free: 80.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.6238, allocations: 2.601 MB / 0.5617 GB, free: 78.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.6274, allocations: 4.248 MB / 0.5658 GB, free: 75.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.6274, allocations: 11.16 kB / 0.5659 GB, free: 75.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005143/0.6325, allocations: 4.536 MB / 0.5703 GB, free: 72.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.6326, allocations: 26.91 kB / 0.5703 GB, free: 72.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.6326, allocations: 36 kB / 0.5703 GB, free: 72.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/0.6332, allocations: 311.2 kB / 0.5706 GB, free: 71.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/0.6357, allocations: 0.7761 MB / 0.5714 GB, free: 71.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.6394, allocations: 4.748 MB / 0.576 GB, free: 66.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.6411, allocations: 417.1 kB / 0.5764 GB, free: 65.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.6413, allocations: 170.5 kB / 0.5766 GB, free: 65.51 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.002263/0.6436, allocations: 2.187 MB / 0.5787 GB, free: 63.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.6438, allocations: 218.7 kB / 0.5789 GB, free: 63.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.6479, allocations: 3.174 MB / 0.582 GB, free: 59.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.648, allocations: 11.95 kB / 0.582 GB, free: 59.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.648, allocations: 0 / 0.582 GB, free: 59.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/0.6488, allocations: 465.7 kB / 0.5825 GB, free: 59.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.649, allocations: 44 kB / 0.5825 GB, free: 59.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/0.65, allocations: 99.91 kB / 0.5826 GB, free: 59.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.6502, allocations: 178 kB / 0.5828 GB, free: 59.1 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004391/0.6546, allocations: 2.983 MB / 0.5857 GB, free: 56.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004114/0.6587, allocations: 3.998 MB / 0.5896 GB, free: 52.13 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001088/0.6598, allocations: 1.049 MB / 0.5906 GB, free: 51.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001268/0.6611, allocations: 1.282 MB / 0.5919 GB, free: 49.8 MB / 446.1 MB Notification: Performance of Backend: time 3e-07/0.6611, allocations: 0 / 0.5919 GB, free: 49.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003741/0.6648, allocations: 2.672 MB / 0.5945 GB, free: 47.13 MB / 446.1 MB Notification: Performance of SimCode: time 0.01151/0.6763, allocations: 9.653 MB / 0.6039 GB, free: 37.43 MB / 446.1 MB Notification: Performance of Templates: time 0.06255/0.7388, allocations: 48.36 MB / 0.6512 GB, free: 5.508 MB / 462.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 -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.733447015998536]