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.001732/0.001732, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001988/0.001988, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.47/1.47, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.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.002098/0.002098, allocations: 46.08 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09407, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006878/0.1009, allocations: 5.3 MB / 376.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.1043, allocations: 1.963 MB / 378.8 MB, free: 60 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.1047, allocations: 51.62 kB / 378.9 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008849/0.1056, allocations: 389.5 kB / 379.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.1068, allocations: 0.5827 MB / 379.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1072, allocations: 223.8 kB / 380.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.1094, allocations: 2.214 MB / 382.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.1108, allocations: 1.123 MB / 383.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.1127, allocations: 1.068 MB / 384.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.1144, allocations: 1.206 MB / 385.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003709/0.1148, allocations: 292 kB / 386 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.1154, allocations: 371.8 kB / 386.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.1161, allocations: 0.709 MB / 387 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.1172, allocations: 0.9999 MB / 388 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.1208, allocations: 3.808 MB / 391.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1208, allocations: 0 / 391.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1208, allocations: 3.938 kB / 391.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.785e-05/0.1209, allocations: 0 / 391.9 MB, free: 2.949 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.004231/0.1251, allocations: 2.354 MB / 394.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1251, allocations: 12.03 kB / 394.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006417/0.1258, allocations: 263.5 kB / 394.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.128, allocations: 1.307 MB / 395.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.1281, allocations: 135.5 kB / 395.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.1283, allocations: 176 kB / 396.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/0.1325, allocations: 2.748 MB / 398.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.1326, allocations: 0 / 398.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.1328, allocations: 76 kB / 398.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.1329, allocations: 95.58 kB / 399 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.1364, allocations: 2.11 MB / 401.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.1467, allocations: 6.332 MB / 407.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.1481, allocations: 0.7048 MB / 408.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.1488, allocations: 451.2 kB / 408.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.149, allocations: 36.47 kB / 408.6 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.149, allocations: 39.06 kB / 408.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.244e-06/0.149, allocations: 0 / 408.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00396/0.153, allocations: 2.125 MB / 410.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.153, allocations: 85.61 kB / 410.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.1548, allocations: 1.343 MB / 412.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.1548, allocations: 37.7 kB / 412.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007992/0.1556, allocations: 1.025 MB / 413.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.1558, allocations: 210.3 kB / 413.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.1561, allocations: 238.8 kB / 413.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1563, allocations: 357.9 kB / 414.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/0.1571, allocations: 458.3 kB / 414.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.1583, allocations: 1.123 MB / 415.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.1604, allocations: 1.616 MB / 417.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.1604, allocations: 15.92 kB / 417.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002798/0.1632, allocations: 1.665 MB / 418.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1633, allocations: 12.62 kB / 418.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.1633, allocations: 24 kB / 419 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007066/0.164, allocations: 184.6 kB / 419.1 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.1649, allocations: 283.5 kB / 419.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.1673, allocations: 2.215 MB / 421.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/0.1682, allocations: 87.81 kB / 421.7 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.1683, allocations: 68 kB / 421.8 MB, free: 3.75 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.001027/0.1693, allocations: 0.7039 MB / 422.5 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.1695, allocations: 123.2 kB / 422.6 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.171, allocations: 0.8295 MB / 423.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.171, allocations: 4 kB / 423.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.171, allocations: 0 / 423.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.171, allocations: 7.984 kB / 423.5 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.1745, allocations: 2.086 MB / 425.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1745, allocations: 0 / 425.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.1749, allocations: 104.2 kB / 425.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/0.1756, allocations: 144.7 kB / 425.8 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.1756, allocations: 16 kB / 425.8 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.1778, allocations: 2.168 MB / 428 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.1779, allocations: 7.938 kB / 428 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.1798, allocations: 1.296 MB / 429.3 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/0.1802, allocations: 203.2 kB / 429.5 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.1804, allocations: 16 kB / 429.5 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.1809, allocations: 51.89 kB / 429.5 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.181, allocations: 39.92 kB / 429.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.1811, allocations: 20 kB / 429.6 MB, free: 11.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.1823, allocations: 0.8989 MB / 430.5 MB, free: 10.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1823, allocations: 0 / 430.5 MB, free: 10.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0013/0.1836, allocations: 347.9 kB / 430.8 MB, free: 10.44 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.0004314/0.184, allocations: 196.4 kB / 431 MB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.1859, allocations: 1.122 MB / 432.2 MB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1859, allocations: 0 / 432.2 MB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008109/0.1867, allocations: 0.5033 MB / 432.7 MB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.1879, allocations: 268.3 kB / 432.9 MB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.1932, allocations: 3.223 MB / 436.1 MB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.1945, allocations: 1.119 MB / 437.3 MB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008308/0.1953, allocations: 301.8 kB / 437.6 MB, free: 3.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.1955, allocations: 80.5 kB / 437.6 MB, free: 3.508 MB / 398.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1955, allocations: 0 / 437.6 MB, free: 3.508 MB / 398.1 MB Notification: Performance of Templates: time 0.03056/0.2261, allocations: 15.72 MB / 453.4 MB, free: 4.059 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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: 4.765906771994196]