Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.002036/0.002036, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002169/0.002169, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 14.72 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 1.44/1.44, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2528, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008505/0.2613, allocations: 5.967 MB / 429.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.2655, allocations: 2.08 MB / 431.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008936/0.2663, allocations: 47.69 kB / 431.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.2677, allocations: 407 kB / 431.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.2694, allocations: 0.5788 MB / 432.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.2699, allocations: 227.6 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.2724, allocations: 2.214 MB / 434.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.274, allocations: 1.162 MB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.2762, allocations: 1.069 MB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.2781, allocations: 1.242 MB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.2785, allocations: 288 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007206/0.2792, allocations: 375.8 kB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006856/0.2799, allocations: 0.7129 MB / 439.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.2814, allocations: 1.229 MB / 440.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00495/0.2863, allocations: 3.796 MB / 444.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.2864, allocations: 0 / 444.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2864, allocations: 0 / 444.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001264/0.2865, allocations: 0 / 444.5 MB, free: 9.168 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006311/0.2928, allocations: 2.361 MB / 446.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.2929, allocations: 8.031 kB / 446.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/0.2937, allocations: 259.5 kB / 447.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.2963, allocations: 1.303 MB / 448.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2964, allocations: 139.5 kB / 448.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.2967, allocations: 168 kB / 448.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/0.3012, allocations: 2.551 MB / 451.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.3012, allocations: 0 / 451.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.3014, allocations: 75.98 kB / 451.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.3015, allocations: 95.58 kB / 451.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.3053, allocations: 2.11 MB / 453.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.3178, allocations: 7.244 MB / 460.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.3192, allocations: 0.7111 MB / 461.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007857/0.32, allocations: 454.9 kB / 461.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.3202, allocations: 36.41 kB / 462 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.3202, allocations: 43 kB / 462 MB, free: 7.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.938e-06/0.3202, allocations: 7.938 kB / 462 MB, free: 7.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004632/0.3249, allocations: 2.129 MB / 464.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.3249, allocations: 85.55 kB / 464.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.3273, allocations: 1.508 MB / 465.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.3273, allocations: 37.7 kB / 465.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007897/0.3281, allocations: 1.006 MB / 466.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.3283, allocations: 206.4 kB / 467 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.3287, allocations: 242.7 kB / 467.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3289, allocations: 353.9 kB / 467.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/0.3296, allocations: 458.3 kB / 468 MB, free: 1.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.3309, allocations: 1.091 MB / 469.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.3331, allocations: 1.615 MB / 470.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.3331, allocations: 8 kB / 470.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003053/0.3361, allocations: 1.696 MB / 472.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.3361, allocations: 16 kB / 472.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.3362, allocations: 20 kB / 472.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008074/0.337, allocations: 172.8 kB / 472.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009462/0.3379, allocations: 291.5 kB / 472.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.3406, allocations: 2.255 MB / 475.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3418, allocations: 95.81 kB / 475.3 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.3419, allocations: 71.98 kB / 475.3 MB, free: 9.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001141/0.3431, allocations: 0.7039 MB / 476 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.3434, allocations: 143.1 kB / 476.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.345, allocations: 0.8334 MB / 477 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.345, allocations: 11.94 kB / 477 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.345, allocations: 0 / 477 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3451, allocations: 3.984 kB / 477 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.3496, allocations: 2.466 MB / 479.5 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.3497, allocations: 0 / 479.5 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.3501, allocations: 99.81 kB / 479.6 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/0.3508, allocations: 149 kB / 479.7 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.3508, allocations: 16 kB / 479.8 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.3534, allocations: 2.203 MB / 482 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3534, allocations: 0 / 482 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.356, allocations: 1.329 MB / 483.3 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009705/0.3569, allocations: 211.1 kB / 483.5 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.3572, allocations: 24.05 kB / 483.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/0.3579, allocations: 43.97 kB / 483.6 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.358, allocations: 55.78 kB / 483.6 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.3581, allocations: 20.19 kB / 483.6 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001771/0.3599, allocations: 1.036 MB / 484.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3599, allocations: 3.938 kB / 484.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001598/0.3615, allocations: 347.9 kB / 485 MB, free: 15.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006406/0.3621, allocations: 190.9 kB / 485.2 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.3646, allocations: 1.122 MB / 486.3 MB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.3646, allocations: 4 kB / 486.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009114/0.3655, allocations: 0.4988 MB / 486.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.3674, allocations: 367.1 kB / 487.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.3733, allocations: 3.259 MB / 490.4 MB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.3749, allocations: 1.706 MB / 492.1 MB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.376, allocations: 323.3 kB / 492.5 MB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.3762, allocations: 91.42 kB / 492.5 MB, free: 7.477 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3762, allocations: 0 / 492.5 MB, free: 7.477 MB / 398.1 MB Notification: Performance of Templates: time 0.03821/0.4144, allocations: 19.91 MB / 0.5005 GB, free: 3.789 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.181149132549763]