Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001766/0.001766, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 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.00207/0.00207, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.599/1.599, allocations: 225.6 MB / 249.8 MB, free: 3.625 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.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.91 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1072, allocations: 52.13 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005339/0.1125, allocations: 3.805 MB / 422.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1146, allocations: 1.001 MB / 423.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.1149, allocations: 19.94 kB / 423.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.1152, allocations: 162.8 kB / 423.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007899/0.116, allocations: 294.4 kB / 424.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1163, allocations: 115.9 kB / 424.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.1179, allocations: 1.42 MB / 425.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1191, allocations: 0.9087 MB / 426.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007782/0.1198, allocations: 0.6386 MB / 427.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.121, allocations: 0.79 MB / 428.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.1212, allocations: 160 kB / 428.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1214, allocations: 156 kB / 428.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.1219, allocations: 474.7 kB / 428.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008291/0.1227, allocations: 0.7466 MB / 429.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.1248, allocations: 2.067 MB / 431.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1248, allocations: 0 / 431.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1248, allocations: 0 / 431.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.1248, allocations: 0 / 431.7 MB, free: 15.31 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003267/0.1281, allocations: 1.729 MB / 433.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1281, allocations: 8.031 kB / 433.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1284, allocations: 152 kB / 433.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.1298, allocations: 0.8818 MB / 434.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.1299, allocations: 86.38 kB / 434.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.1301, allocations: 112 kB / 434.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.1327, allocations: 1.576 MB / 436.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.1327, allocations: 4 kB / 436.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.1329, allocations: 51.92 kB / 436.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.1329, allocations: 28 kB / 436.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.1351, allocations: 1.332 MB / 437.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006962/0.1421, allocations: 4.28 MB / 441.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.1434, allocations: 1.311 MB / 443.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009162/0.1444, allocations: 0.4905 MB / 443.7 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1444, allocations: 12.44 kB / 443.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1444, allocations: 39 kB / 443.8 MB, free: 2.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.344e-06/0.1444, allocations: 0 / 443.8 MB, free: 2.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00158/0.146, allocations: 0.8772 MB / 444.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.146, allocations: 55.84 kB / 444.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.1472, allocations: 0.832 MB / 445.5 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.1472, allocations: 37.7 kB / 445.6 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.1477, allocations: 0.5506 MB / 446.1 MB, free: 372 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.1478, allocations: 190.4 kB / 446.3 MB, free: 180 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.148, allocations: 102.2 kB / 446.4 MB, free: 68 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2101/0.3581, allocations: 383 kB / 446.8 MB, free: 29.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.3586, allocations: 302.5 kB / 447.1 MB, free: 29.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.3591, allocations: 395.1 kB / 447.4 MB, free: 29.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008338/0.3599, allocations: 0.6868 MB / 448.1 MB, free: 29.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3599, allocations: 2.656 kB / 448.1 MB, free: 29.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001218/0.3611, allocations: 0.8213 MB / 449 MB, free: 29.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3611, allocations: 8.125 kB / 449 MB, free: 29.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3611, allocations: 2.219 kB / 449 MB, free: 29.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.3612, allocations: 5.469 kB / 449 MB, free: 29.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.3618, allocations: 155 kB / 449.1 MB, free: 29.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3618, allocations: 5.438 kB / 449.1 MB, free: 29.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3621, allocations: 66.47 kB / 449.2 MB, free: 29.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3622, allocations: 16.97 kB / 449.2 MB, free: 29.58 MB / 366.1 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.0005448/0.3627, allocations: 461.9 kB / 449.7 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3628, allocations: 76.91 kB / 449.7 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.363, allocations: 93.06 kB / 449.8 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.363, allocations: 4.906 kB / 449.8 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.363, allocations: 4.375 kB / 449.8 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.363, allocations: 5.578 kB / 449.8 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.3656, allocations: 1.939 MB / 451.8 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3656, allocations: 1.375 kB / 451.8 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.3662, allocations: 119.4 kB / 451.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.3662, allocations: 7.109 kB / 451.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.3662, allocations: 14.77 kB / 451.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3662, allocations: 6.062 kB / 451.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3662, allocations: 4.5 kB / 451.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3677, allocations: 1.127 MB / 453.1 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.3678, allocations: 171.4 kB / 453.2 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.3679, allocations: 13.75 kB / 453.2 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.3683, allocations: 53.62 kB / 453.3 MB, free: 28.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3685, allocations: 40.88 kB / 453.3 MB, free: 28.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.3685, allocations: 16.27 kB / 453.3 MB, free: 28.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008957/0.3694, allocations: 0.5878 MB / 453.9 MB, free: 28.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3694, allocations: 0.9844 kB / 453.9 MB, free: 28.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007694/0.3702, allocations: 287.5 kB / 454.2 MB, free: 28.4 MB / 366.1 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.0001338/0.3703, allocations: 121.5 kB / 454.3 MB, free: 28.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3713, allocations: 0.6284 MB / 455 MB, free: 28.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3713, allocations: 3.344 kB / 455 MB, free: 28.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.3718, allocations: 310.2 kB / 455.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/0.3727, allocations: 182.6 kB / 455.4 MB, free: 28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.376, allocations: 2.305 MB / 457.7 MB, free: 26.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.3768, allocations: 1.313 MB / 459.1 MB, free: 26.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.377, allocations: 62.27 kB / 459.1 MB, free: 26.04 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.377, allocations: 0 / 459.1 MB, free: 26.04 MB / 366.1 MB Notification: Performance of Templates: time 0.02072/0.3977, allocations: 13.44 MB / 472.6 MB, free: 21.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.488775947829708]