Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003713/0.003713, allocations: 145.3 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8495/0.8495, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.473e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008649/0.008674, allocations: 11.99 MB / 331.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006914/0.01559, allocations: 3.656 MB / 335.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009645/0.01655, allocations: 123.4 kB / 335.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00467/0.02122, allocations: 5.48 MB / 340.9 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.02394, allocations: 1.575 MB / 342.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.02531, allocations: 1.053 MB / 343.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004359/0.02967, allocations: 6.598 MB / 350.2 MB, free: 7.246 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007956/0.03762, allocations: 9.065 MB / 359.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.0415, allocations: 4.942 MB / 364.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.04411, allocations: 3.337 MB / 367.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007273/0.04484, allocations: 0.8906 MB / 368.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.0459, allocations: 1.074 MB / 369.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008756/0.04678, allocations: 1.804 MB / 371.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.04847, allocations: 2.39 MB / 373.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006715/0.05519, allocations: 12.11 MB / 385.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.05519, allocations: 0 / 385.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05519, allocations: 0 / 385.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.783e-05/0.05529, allocations: 0 / 385.8 MB, free: 3.449 MB / 346.7 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.0093/0.06459, allocations: 7.771 MB / 393.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.06463, allocations: 8.922 kB / 393.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008442/0.07307, allocations: 2.916 MB / 396.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004343/0.07741, allocations: 3.74 MB / 400.2 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.07767, allocations: 489 kB / 400.7 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006354/0.07831, allocations: 0.621 MB / 401.3 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.08844, allocations: 9.465 MB / 410.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-05/0.08853, allocations: 7.953 kB / 410.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.08894, allocations: 264 kB / 411 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/0.08912, allocations: 317.4 kB / 411.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007868/0.09699, allocations: 7.919 MB / 419.3 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.1186, allocations: 24.07 MB / 443.3 MB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.123, allocations: 3.91 MB / 447.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.1244, allocations: 1.451 MB / 448.7 MB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.1245, allocations: 45.97 kB / 448.7 MB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.1245, allocations: 64.5 kB / 448.8 MB, free: 3.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 3.948e-06/0.1245, allocations: 0 / 448.8 MB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.1538/0.2783, allocations: 4.003 MB / 452.8 MB, free: 113.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.2784, allocations: 102.3 kB / 452.9 MB, free: 113.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.2808, allocations: 1.964 MB / 454.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.2811, allocations: 65.08 kB / 454.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.2817, allocations: 2.635 MB / 457.6 MB, free: 112 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.2821, allocations: 0.8388 MB / 458.4 MB, free: 111.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/0.2826, allocations: 0.6598 MB / 459.1 MB, free: 111.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.801e-05/0.2827, allocations: 305.1 kB / 459.4 MB, free: 110.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.2839, allocations: 1.408 MB / 460.8 MB, free: 110.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.2852, allocations: 2.594 MB / 463.4 MB, free: 108.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.2876, allocations: 4.231 MB / 467.6 MB, free: 105.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.2877, allocations: 11.5 kB / 467.6 MB, free: 105.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003386/0.291, allocations: 4.517 MB / 472.1 MB, free: 103.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.2911, allocations: 20 kB / 472.2 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.2911, allocations: 40 kB / 472.2 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.2915, allocations: 309 kB / 472.5 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.2927, allocations: 0.7777 MB / 473.3 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.2952, allocations: 4.724 MB / 478 MB, free: 97.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.2961, allocations: 423 kB / 478.4 MB, free: 97.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.2962, allocations: 159.7 kB / 478.6 MB, free: 97.41 MB / 410.7 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.001962/0.2982, allocations: 2.196 MB / 480.8 MB, free: 95.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.2983, allocations: 216.6 kB / 481 MB, free: 95.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.3009, allocations: 3.172 MB / 484.1 MB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3009, allocations: 24 kB / 484.2 MB, free: 92.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3009, allocations: 7.891 kB / 484.2 MB, free: 92.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3009, allocations: 19.41 kB / 484.2 MB, free: 92.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/0.308, allocations: 9.551 MB / 493.7 MB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.308, allocations: 16 kB / 493.8 MB, free: 82.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.3088, allocations: 436.1 kB / 494.2 MB, free: 82.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.3091, allocations: 280.5 kB / 494.5 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.3092, allocations: 67.98 kB / 494.5 MB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.3114, allocations: 4.668 MB / 499.2 MB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3114, allocations: 23.88 kB / 499.2 MB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.3146, allocations: 4.96 MB / 0.4924 GB, free: 72.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.3151, allocations: 477.8 kB / 0.4928 GB, free: 71.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.3152, allocations: 67.92 kB / 0.4929 GB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.3157, allocations: 128 kB / 0.493 GB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.3159, allocations: 213.2 kB / 0.4932 GB, free: 71.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.316, allocations: 88.36 kB / 0.4933 GB, free: 71.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008364/0.3168, allocations: 1.278 MB / 0.4945 GB, free: 69.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3168, allocations: 4.922 kB / 0.4945 GB, free: 69.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002115/0.3189, allocations: 1.456 MB / 0.496 GB, free: 68.35 MB / 410.7 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.0002683/0.3192, allocations: 218.6 kB / 0.4962 GB, free: 68.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.3218, allocations: 3.485 MB / 0.4996 GB, free: 64.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3218, allocations: 4 kB / 0.4996 GB, free: 64.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3228, allocations: 1.592 MB / 0.5011 GB, free: 63.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.3242, allocations: 0.4957 MB / 0.5016 GB, free: 62.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008013/0.3322, allocations: 9.918 MB / 0.5113 GB, free: 52.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.3339, allocations: 3.386 MB / 0.5146 GB, free: 48.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.3344, allocations: 220.5 kB / 0.5148 GB, free: 48.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3344, allocations: 0 / 0.5148 GB, free: 48.75 MB / 410.7 MB Notification: Performance of Templates: time 0.1991/0.5335, allocations: 126.1 MB / 0.638 GB, free: 135.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.18018483184278]