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.001849/0.001849, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002347/0.002347, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.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 0.001801/0.001801, allocations: 55.92 kB / 373.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.112, allocations: 53.34 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00606/0.1181, allocations: 3.799 MB / 430.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2912/0.4093, allocations: 1.067 MB / 431.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.4096, allocations: 32.34 kB / 431.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.4099, allocations: 157.8 kB / 431.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.4106, allocations: 307.9 kB / 432.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.4108, allocations: 131 kB / 432.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.412, allocations: 1.42 MB / 433.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009548/0.4129, allocations: 0.9105 MB / 434.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.4136, allocations: 0.659 MB / 435.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008968/0.4145, allocations: 0.7955 MB / 436.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.4147, allocations: 159.1 kB / 436.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.415, allocations: 161.6 kB / 436.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.4154, allocations: 479.2 kB / 436.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006589/0.416, allocations: 0.7434 MB / 437.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.4181, allocations: 2.081 MB / 439.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4181, allocations: 0.6094 kB / 439.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4181, allocations: 0 / 439.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.113e-05/0.4182, allocations: 3.938 kB / 439.7 MB, free: 6.062 MB / 350.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.003018/0.4212, allocations: 1.729 MB / 441.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4212, allocations: 9.531 kB / 441.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.4218, allocations: 178.2 kB / 441.6 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.4232, allocations: 0.9154 MB / 442.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.55e-05/0.4233, allocations: 87.94 kB / 442.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.4235, allocations: 117.9 kB / 442.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.4262, allocations: 1.567 MB / 444.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.4262, allocations: 4.656 kB / 444.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.4263, allocations: 50.44 kB / 444.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.4264, allocations: 27.12 kB / 444.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.4285, allocations: 1.333 MB / 445.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.4349, allocations: 4.283 MB / 450 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4359, allocations: 1.292 MB / 451.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009378/0.4368, allocations: 0.5026 MB / 451.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.4368, allocations: 5.781 kB / 451.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.4369, allocations: 37.34 kB / 451.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.725e-06/0.4369, allocations: 1.094 kB / 451.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001605/0.4385, allocations: 0.8794 MB / 452.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4385, allocations: 57.41 kB / 452.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4397, allocations: 0.8275 MB / 453.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.4398, allocations: 31.89 kB / 453.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.4403, allocations: 0.5631 MB / 454.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.4404, allocations: 187.7 kB / 454.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.4406, allocations: 111.1 kB / 454.5 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4408, allocations: 392.7 kB / 454.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.4413, allocations: 299.9 kB / 455.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.4419, allocations: 396.3 kB / 455.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.443, allocations: 0.6886 MB / 456.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.443, allocations: 1.719 kB / 456.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00136/0.4444, allocations: 0.8282 MB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4444, allocations: 5.625 kB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4444, allocations: 2.125 kB / 457 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4444, allocations: 8.969 kB / 457.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.445, allocations: 147 kB / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.445, allocations: 5.406 kB / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.4455, allocations: 62.33 kB / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.4456, allocations: 30.98 kB / 457.3 MB, free: 12.28 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.0006571/0.4462, allocations: 459.8 kB / 457.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4464, allocations: 78.55 kB / 457.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.4466, allocations: 93.47 kB / 457.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.4466, allocations: 8.625 kB / 457.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4466, allocations: 0.9062 kB / 457.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4466, allocations: 0.8906 kB / 457.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.4498, allocations: 1.957 MB / 459.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4498, allocations: 3.188 kB / 459.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.4503, allocations: 113 kB / 460 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4503, allocations: 3.062 kB / 460 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.4504, allocations: 12.3 kB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4504, allocations: 5.656 kB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4504, allocations: 3.703 kB / 460 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.452, allocations: 1.135 MB / 461.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.4523, allocations: 178.9 kB / 461.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.4524, allocations: 12.84 kB / 461.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.4528, allocations: 46.42 kB / 461.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4529, allocations: 46.53 kB / 461.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4529, allocations: 15.03 kB / 461.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008237/0.4538, allocations: 0.6026 MB / 462 MB, free: 9.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4538, allocations: 0 / 462 MB, free: 9.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008632/0.4546, allocations: 284.1 kB / 462.3 MB, free: 9.25 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.0001807/0.4548, allocations: 111.9 kB / 462.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.456, allocations: 0.6295 MB / 463.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.456, allocations: 1.188 kB / 463.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005179/0.4565, allocations: 313.3 kB / 463.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.4575, allocations: 179.5 kB / 463.5 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.4612, allocations: 2.3 MB / 465.8 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.4624, allocations: 1.346 MB / 467.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005203/0.4629, allocations: 208.7 kB / 467.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.463, allocations: 52.25 kB / 467.4 MB, free: 6.141 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.463, allocations: 5.281 kB / 467.5 MB, free: 6.137 MB / 366.1 MB Notification: Performance of Templates: time 0.01965/0.4827, allocations: 10.31 MB / 477.8 MB, free: 12.27 MB / 382.1 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: 5.004979867488146]