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.001759/0.001759, allocations: 69.33 kB / 21.24 MB, free: 0.5547 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.002077/0.002077, allocations: 162.9 kB / 24.5 MB, free: 3.711 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.49/1.49, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.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 0.002139/0.002139, allocations: 56.06 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09703, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007292/0.1043, allocations: 5.317 MB / 384.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.1081, allocations: 2.033 MB / 386.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.1085, allocations: 47.69 kB / 386.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008897/0.1094, allocations: 393.4 kB / 386.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1106, allocations: 0.5788 MB / 387.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.111, allocations: 231.7 kB / 387.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.1133, allocations: 2.225 MB / 389.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.1148, allocations: 1.123 MB / 390.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.1168, allocations: 1.083 MB / 391.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.1184, allocations: 1.206 MB / 393.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.1188, allocations: 288 kB / 393.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.1195, allocations: 375.8 kB / 393.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.1202, allocations: 0.709 MB / 394.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1213, allocations: 0.996 MB / 395.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.1251, allocations: 3.815 MB / 399.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1251, allocations: 0 / 399.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1251, allocations: 0 / 399.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.625e-05/0.1251, allocations: 0 / 399.3 MB, free: 11.12 MB / 366.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.004271/0.1294, allocations: 2.373 MB / 401.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1294, allocations: 12.03 kB / 401.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.1303, allocations: 287.5 kB / 402 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.1325, allocations: 1.307 MB / 403.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1326, allocations: 139.5 kB / 403.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.1329, allocations: 180 kB / 403.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004307/0.1372, allocations: 2.748 MB / 406.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.1372, allocations: 0 / 406.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.1374, allocations: 75.98 kB / 406.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.1375, allocations: 95.58 kB / 406.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/0.1412, allocations: 2.11 MB / 408.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.1518, allocations: 6.332 MB / 414.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.153, allocations: 0.7044 MB / 415.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.1538, allocations: 447.7 kB / 416.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.1539, allocations: 40.45 kB / 416.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.154, allocations: 43.06 kB / 416.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.726e-06/0.154, allocations: 0 / 416.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.003933/0.1579, allocations: 2.125 MB / 418.3 MB, free: 7.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.158, allocations: 85.61 kB / 418.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.1598, allocations: 1.356 MB / 419.7 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.1598, allocations: 37.7 kB / 419.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007861/0.1606, allocations: 1.029 MB / 420.8 MB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.1608, allocations: 210.4 kB / 421 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.1611, allocations: 242.7 kB / 421.2 MB, free: 4.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1613, allocations: 361.8 kB / 421.6 MB, free: 4.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.162, allocations: 454.3 kB / 422 MB, free: 3.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.1634, allocations: 1.116 MB / 423.2 MB, free: 2.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.1654, allocations: 1.616 MB / 424.8 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.1655, allocations: 8 kB / 424.8 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002721/0.1682, allocations: 1.681 MB / 426.5 MB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.1682, allocations: 16 kB / 426.5 MB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.1682, allocations: 20 kB / 426.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007102/0.1689, allocations: 176.9 kB / 426.7 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.1698, allocations: 283.5 kB / 426.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.1725, allocations: 2.211 MB / 429.2 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009549/0.1735, allocations: 87.77 kB / 429.2 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.1736, allocations: 67.98 kB / 429.3 MB, free: 11.85 MB / 398.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.001383/0.175, allocations: 0.7118 MB / 430 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.1753, allocations: 127.2 kB / 430.1 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.1773, allocations: 0.8258 MB / 431 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1773, allocations: 4 kB / 431 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1773, allocations: 4 kB / 431 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1773, allocations: 0 / 431 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.1822, allocations: 2.088 MB / 433.1 MB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.1822, allocations: 7.938 kB / 433.1 MB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.1828, allocations: 95.88 kB / 433.2 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008378/0.1836, allocations: 148.9 kB / 433.3 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.1837, allocations: 12 kB / 433.3 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003251/0.1869, allocations: 2.165 MB / 435.5 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.1869, allocations: 8.094 kB / 435.5 MB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.1899, allocations: 1.307 MB / 436.8 MB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/0.1906, allocations: 195.2 kB / 437 MB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.1908, allocations: 12 kB / 437 MB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008807/0.1917, allocations: 51.97 kB / 437.1 MB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.1918, allocations: 51.84 kB / 437.1 MB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.1919, allocations: 16.19 kB / 437.1 MB, free: 3.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.1938, allocations: 0.9032 MB / 438 MB, free: 2.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1938, allocations: 3.938 kB / 438 MB, free: 2.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001941/0.1958, allocations: 351.9 kB / 438.4 MB, free: 2.527 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.0005602/0.1963, allocations: 197.3 kB / 438.6 MB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.1991, allocations: 1.115 MB / 439.7 MB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1991, allocations: 0 / 439.7 MB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.2003, allocations: 0.4992 MB / 440.2 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.2022, allocations: 276.2 kB / 440.4 MB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/0.2094, allocations: 3.226 MB / 443.7 MB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.2107, allocations: 1.127 MB / 444.8 MB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008449/0.2115, allocations: 301.7 kB / 445.1 MB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.2117, allocations: 84.48 kB / 445.2 MB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2117, allocations: 4 kB / 445.2 MB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.03012/0.2419, allocations: 15.74 MB / 460.9 MB, free: 12.1 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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.0662456640275195]