Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.002408/0.002408, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002639/0.002639, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.246e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00888/0.008912, allocations: 5.842 MB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.0134, allocations: 2.091 MB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.01415, allocations: 51.69 kB / 280.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.01527, allocations: 397.3 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.01681, allocations: 0.6055 MB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.01731, allocations: 239.6 kB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.02017, allocations: 2.298 MB / 283.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.02181, allocations: 1.135 MB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.02484, allocations: 1.613 MB / 286.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.02672, allocations: 1.189 MB / 287.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004611/0.02718, allocations: 292 kB / 288.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.02793, allocations: 367.9 kB / 288.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008023/0.02873, allocations: 0.7518 MB / 289.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.03005, allocations: 0.8693 MB / 290 MB, free: 20 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1297/0.1598, allocations: 3.868 MB / 293.9 MB, free: 18.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1598, allocations: 0 / 293.9 MB, free: 18.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1598, allocations: 0 / 293.9 MB, free: 18.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000126/0.1599, allocations: 1.219 kB / 293.9 MB, free: 18.14 MB / 266.7 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.005608/0.1655, allocations: 2.728 MB / 296.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1655, allocations: 13.19 kB / 296.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.1668, allocations: 428.8 kB / 297.1 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.1696, allocations: 1.252 MB / 298.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.1697, allocations: 135 kB / 298.4 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.17, allocations: 181.2 kB / 298.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004642/0.1746, allocations: 2.723 MB / 301.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.1747, allocations: 3.938 kB / 301.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.1749, allocations: 68.41 kB / 301.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.175, allocations: 98.27 kB / 301.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/0.1779, allocations: 1.825 MB / 303.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.1893, allocations: 9.46 MB / 312.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.1903, allocations: 0.6055 MB / 313.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.1908, allocations: 365.7 kB / 313.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.191, allocations: 40.47 kB / 313.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.191, allocations: 45.64 kB / 313.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.514e-06/0.191, allocations: 0 / 313.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.003317/0.1943, allocations: 1.801 MB / 315.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1944, allocations: 85.61 kB / 315.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.1961, allocations: 1.672 MB / 317.4 MB, free: 3.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.1961, allocations: 33.7 kB / 317.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.1966, allocations: 1.179 MB / 318.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1967, allocations: 225.2 kB / 318.8 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.1971, allocations: 308.4 kB / 319.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1972, allocations: 0.5902 MB / 319.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.1978, allocations: 364.6 kB / 320.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.199, allocations: 1.359 MB / 321.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.2014, allocations: 1.78 MB / 323.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.2014, allocations: 4 kB / 323.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003204/0.2046, allocations: 1.569 MB / 324.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.2047, allocations: 16 kB / 324.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.2047, allocations: 20 kB / 324.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009536/0.2057, allocations: 182.7 kB / 325 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/0.2066, allocations: 281 kB / 325.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.2098, allocations: 2.706 MB / 328 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.2111, allocations: 87.78 kB / 328.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.2112, allocations: 70.94 kB / 328.1 MB, free: 8.23 MB / 282.7 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.001206/0.2124, allocations: 0.6597 MB / 328.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.2128, allocations: 147.2 kB / 328.9 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2143, allocations: 0.6689 MB / 329.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2143, allocations: 4 kB / 329.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2143, allocations: 7.938 kB / 329.6 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.2143, allocations: 3.984 kB / 329.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.2196, allocations: 2.608 MB / 332.2 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2196, allocations: 4 kB / 332.2 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.22, allocations: 94.78 kB / 332.3 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007826/0.2208, allocations: 148.7 kB / 332.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.2209, allocations: 20 kB / 332.5 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.2238, allocations: 2.6 MB / 335.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.2238, allocations: 4 kB / 335.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.2259, allocations: 1.135 MB / 336.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006404/0.2265, allocations: 179.2 kB / 336.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.2267, allocations: 18.84 kB / 336.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.2273, allocations: 44 kB / 336.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.2274, allocations: 55.78 kB / 336.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.2275, allocations: 20 kB / 336.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00161/0.2291, allocations: 0.9578 MB / 337.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2291, allocations: 0 / 337.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001697/0.2308, allocations: 343.9 kB / 337.8 MB, free: 14.32 MB / 298.7 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.0005538/0.2313, allocations: 187.3 kB / 338 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.2335, allocations: 1.126 MB / 339.1 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.2335, allocations: 6 kB / 339.2 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.2344, allocations: 0.4985 MB / 339.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.2358, allocations: 273.2 kB / 339.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.2419, allocations: 3.018 MB / 342.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.2433, allocations: 1.033 MB / 344 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008593/0.2441, allocations: 257.8 kB / 344.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.2444, allocations: 84.48 kB / 344.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of SimCode: time 1.462e-06/0.2444, allocations: 0 / 344.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of Templates: time 0.03226/0.2766, allocations: 15.64 MB / 359.9 MB, free: 8.387 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.124902453972027]