Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000941/0.000941, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009736/0.0009736, allocations: 163.7 kB / 24.99 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9026/0.9026, allocations: 177 MB / 205.2 MB, free: 5.184 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.726e-05, allocations: 2.312 kB / 273 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.0048/0.004818, allocations: 5.909 MB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.007601, allocations: 2.102 MB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.007996, allocations: 51.62 kB / 281.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.008685, allocations: 405.4 kB / 281.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008801/0.009565, allocations: 0.6055 MB / 282.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.009842, allocations: 239.5 kB / 282.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.01159, allocations: 2.326 MB / 284.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.01261, allocations: 1.127 MB / 285.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.0144, allocations: 1.633 MB / 287.4 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.01556, allocations: 1.204 MB / 288.6 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.01587, allocations: 288 kB / 288.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.01628, allocations: 375.8 kB / 289.2 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.01671, allocations: 0.7557 MB / 290 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1372/0.1539, allocations: 0.8731 MB / 290.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.1562, allocations: 2.052 MB / 292.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1562, allocations: 0 / 292.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1562, allocations: 0 / 292.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.638e-05/0.1562, allocations: 1.094 kB / 292.9 MB, free: 17.47 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.002818/0.159, allocations: 2.548 MB / 295.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1591, allocations: 8.875 kB / 295.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/0.1598, allocations: 437.2 kB / 295.9 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.1611, allocations: 1.232 MB / 297.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.1612, allocations: 136.1 kB / 297.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.1614, allocations: 176.4 kB / 297.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.1635, allocations: 1.586 MB / 299 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.1635, allocations: 0 / 299 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1636, allocations: 72.38 kB / 299.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.91e-05/0.1637, allocations: 108.4 kB / 299.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1649, allocations: 0.6167 MB / 299.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005232/0.1702, allocations: 6.011 MB / 305.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.1707, allocations: 397.5 kB / 306.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.171, allocations: 203.8 kB / 306.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.1711, allocations: 45.45 kB / 306.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1711, allocations: 41.42 kB / 306.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.1711, allocations: 0 / 306.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001698/0.1728, allocations: 1.285 MB / 307.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.1729, allocations: 84.83 kB / 307.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008867/0.1738, allocations: 1.189 MB / 309.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1738, allocations: 35.92 kB / 309.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.1741, allocations: 1.118 MB / 310.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.1742, allocations: 215.2 kB / 310.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.1744, allocations: 268.8 kB / 310.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.1745, allocations: 0.5528 MB / 311.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.1747, allocations: 130.8 kB / 311.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.1751, allocations: 1.115 MB / 312.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.1758, allocations: 1.344 MB / 313.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1758, allocations: 6.969 kB / 313.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00109/0.1769, allocations: 1.102 MB / 314.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1769, allocations: 17.53 kB / 314.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1769, allocations: 23.75 kB / 315 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004103/0.1773, allocations: 145.8 kB / 315.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.1778, allocations: 288.2 kB / 315.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009687/0.1787, allocations: 2.362 MB / 317.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.1792, allocations: 87.17 kB / 317.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.1792, allocations: 71.98 kB / 317.9 MB, free: 2.617 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.0002771/0.1795, allocations: 252.9 kB / 318.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.1796, allocations: 151.1 kB / 318.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.1801, allocations: 451.6 kB / 318.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1801, allocations: 8 kB / 318.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1801, allocations: 0 / 318.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1801, allocations: 0 / 318.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.1818, allocations: 1.909 MB / 320.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1818, allocations: 4 kB / 320.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.182, allocations: 98.94 kB / 320.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003302/0.1823, allocations: 130.3 kB / 320.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1824, allocations: 15.94 kB / 320.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.1835, allocations: 2.317 MB / 323.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1835, allocations: 7.938 kB / 323.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.1843, allocations: 0.794 MB / 324 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.1846, allocations: 187.9 kB / 324.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.1846, allocations: 19.62 kB / 324.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.1849, allocations: 39.97 kB / 324.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.185, allocations: 55.97 kB / 324.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.185, allocations: 20.03 kB / 324.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000623/0.1856, allocations: 0.6574 MB / 325 MB, free: 11.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1856, allocations: 0 / 325 MB, free: 11.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009666/0.1866, allocations: 348 kB / 325.3 MB, free: 10.99 MB / 282.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.0003693/0.187, allocations: 192.4 kB / 325.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009069/0.1879, allocations: 0.7722 MB / 326.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1879, allocations: 0 / 326.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.1882, allocations: 391.8 kB / 326.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.189, allocations: 287.4 kB / 327 MB, free: 9.363 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.1924, allocations: 2.813 MB / 329.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1927, allocations: 0.5276 MB / 330.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004299/0.1932, allocations: 262.6 kB / 330.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1933, allocations: 80.5 kB / 330.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1933, allocations: 0 / 330.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of Templates: time 0.01987/0.2132, allocations: 15.72 MB / 346.4 MB, free: 6.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0944582109805197]