Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.0017/0.0017, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002143/0.002143, allocations: 161.7 kB / 24.26 MB, free: 176 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.514/1.514, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.83e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.006271/0.006309, allocations: 3.491 MB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.00886, allocations: 1.047 MB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.009354, allocations: 27.81 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.009888, allocations: 162.8 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.01132, allocations: 326 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.0118, allocations: 135.8 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002237/0.01404, allocations: 1.462 MB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.01533, allocations: 0.6435 MB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.01705, allocations: 0.9512 MB / 280.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.01864, allocations: 0.7249 MB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004199/0.01906, allocations: 160 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.01964, allocations: 171.9 kB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006476/0.02029, allocations: 478.6 kB / 282.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.02144, allocations: 0.5145 MB / 282.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.02497, allocations: 2.115 MB / 284.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.02497, allocations: 0 / 284.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02498, allocations: 0 / 284.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.148e-05/0.02507, allocations: 0 / 284.7 MB, free: 5.375 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005282/0.03035, allocations: 1.646 MB / 286.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.0304, allocations: 12.03 kB / 286.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.03153, allocations: 268 kB / 286.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.03353, allocations: 0.878 MB / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.494e-05/0.03362, allocations: 82.62 kB / 287.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.03389, allocations: 112.4 kB / 287.7 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.03735, allocations: 1.739 MB / 289.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.03738, allocations: 0 / 289.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.03751, allocations: 44 kB / 289.5 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.03754, allocations: 28 kB / 289.5 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1356/0.1731, allocations: 1.324 MB / 290.8 MB, free: 27.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006221/0.1793, allocations: 3.777 MB / 294.6 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.1804, allocations: 0.62 MB / 295.2 MB, free: 25.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.1813, allocations: 0.4942 MB / 295.7 MB, free: 25.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.1813, allocations: 13.66 kB / 295.7 MB, free: 25.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1813, allocations: 42.69 kB / 295.8 MB, free: 25.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 4.298e-06/0.1813, allocations: 1.938 kB / 295.8 MB, free: 25.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001479/0.1828, allocations: 0.8923 MB / 296.6 MB, free: 25.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.1828, allocations: 57.22 kB / 296.7 MB, free: 25.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1839, allocations: 0.8071 MB / 297.5 MB, free: 25.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.184, allocations: 35.89 kB / 297.5 MB, free: 25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.1843, allocations: 0.5615 MB / 298.1 MB, free: 24.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.1844, allocations: 185 kB / 298.3 MB, free: 24.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1846, allocations: 102.9 kB / 298.4 MB, free: 24.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1847, allocations: 384.5 kB / 298.8 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.1852, allocations: 303.3 kB / 299.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.1857, allocations: 398.8 kB / 299.4 MB, free: 23.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/0.1866, allocations: 0.6872 MB / 300.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1866, allocations: 1 kB / 300.1 MB, free: 23.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001211/0.1878, allocations: 0.8493 MB / 301 MB, free: 23.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1879, allocations: 8.844 kB / 301 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.1879, allocations: 1.375 kB / 301 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.1879, allocations: 5.5 kB / 301 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.1885, allocations: 151.7 kB / 301.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1885, allocations: 5.5 kB / 301.2 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1889, allocations: 58.41 kB / 301.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.1889, allocations: 19.12 kB / 301.2 MB, free: 23.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005552/0.1895, allocations: 459.1 kB / 301.7 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.1896, allocations: 96.81 kB / 301.8 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.1897, allocations: 94.69 kB / 301.9 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.1898, allocations: 5.094 kB / 301.9 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.1898, allocations: 3.828 kB / 301.9 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1898, allocations: 2.953 kB / 301.9 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.1925, allocations: 1.688 MB / 303.6 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1925, allocations: 3.781 kB / 303.6 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.1929, allocations: 112.7 kB / 303.7 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1929, allocations: 3.75 kB / 303.7 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.193, allocations: 24.33 kB / 303.7 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.193, allocations: 0 / 303.7 MB, free: 21.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.193, allocations: 7.75 kB / 303.7 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1942, allocations: 1.133 MB / 304.8 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1944, allocations: 102.5 kB / 304.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.1945, allocations: 15.84 kB / 305 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.1948, allocations: 48.92 kB / 305 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.1949, allocations: 45.17 kB / 305.1 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.195, allocations: 16 kB / 305.1 MB, free: 20.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005267/0.1955, allocations: 0.5771 MB / 305.6 MB, free: 20.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1955, allocations: 0 / 305.6 MB, free: 20.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.1961, allocations: 287.1 kB / 305.9 MB, free: 20.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.1963, allocations: 116.1 kB / 306 MB, free: 19.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008149/0.1971, allocations: 0.6376 MB / 306.7 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1971, allocations: 0 / 306.7 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.1974, allocations: 310.6 kB / 307 MB, free: 18.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.1983, allocations: 173.4 kB / 307.2 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.201, allocations: 2.246 MB / 309.4 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.2015, allocations: 0.7457 MB / 310.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.2019, allocations: 207.4 kB / 310.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.2021, allocations: 60.5 kB / 310.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2021, allocations: 3.938 kB / 310.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.01434/0.2164, allocations: 9.812 MB / 320.2 MB, free: 5.898 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.675306074088439]