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.0016/0.0016, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002134/0.002134, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.00164/0.00164, allocations: 39.94 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.33, allocations: 53.38 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005764/0.3358, allocations: 3.482 MB / 435.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3386, allocations: 1.036 MB / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.3389, allocations: 35.75 kB / 436.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.3394, allocations: 154.8 kB / 436.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.3406, allocations: 310.3 kB / 436.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.341, allocations: 131.8 kB / 436.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.3428, allocations: 1.42 MB / 438.1 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3438, allocations: 0.6627 MB / 438.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.3448, allocations: 0.662 MB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.3461, allocations: 0.7978 MB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.3463, allocations: 160 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.3466, allocations: 160 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.3471, allocations: 474.7 kB / 441 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007959/0.3479, allocations: 0.6107 MB / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.3503, allocations: 2.101 MB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3503, allocations: 0 / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3503, allocations: 0 / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.166e-05/0.3503, allocations: 0 / 443.7 MB, free: 10.48 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.003933/0.3543, allocations: 1.65 MB / 445.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.888e-05/0.3544, allocations: 8.031 kB / 445.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/0.3551, allocations: 184 kB / 445.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.3573, allocations: 0.8629 MB / 446.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3574, allocations: 94.38 kB / 446.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.3576, allocations: 108 kB / 446.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.3607, allocations: 1.723 MB / 448.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.3608, allocations: 0 / 448.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3609, allocations: 51.98 kB / 448.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.3609, allocations: 28 kB / 448.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.3634, allocations: 1.328 MB / 449.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008423/0.3718, allocations: 3.72 MB / 453.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3729, allocations: 0.6208 MB / 454.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009318/0.3738, allocations: 0.4983 MB / 454.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.3738, allocations: 8.375 kB / 454.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.3739, allocations: 39 kB / 454.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 4.158e-06/0.3739, allocations: 0 / 454.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001937/0.3758, allocations: 0.8732 MB / 455.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.3759, allocations: 63.84 kB / 455.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.3774, allocations: 0.8047 MB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.797e-05/0.3775, allocations: 29.7 kB / 456.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/0.3781, allocations: 0.5623 MB / 457 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.3784, allocations: 186.4 kB / 457.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.3786, allocations: 110.3 kB / 457.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.3789, allocations: 390.6 kB / 457.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.3794, allocations: 301.1 kB / 458 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.3801, allocations: 399.3 kB / 458.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3812, allocations: 0.6854 MB / 459 MB, free: 10.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3812, allocations: 4 kB / 459 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001588/0.3828, allocations: 0.817 MB / 459.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.3828, allocations: 8 kB / 459.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3828, allocations: 0 / 459.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.3829, allocations: 8.281 kB / 459.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.3836, allocations: 151.8 kB / 460 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.3836, allocations: 8 kB / 460 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.3841, allocations: 55.61 kB / 460.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.3842, allocations: 27.92 kB / 460.1 MB, free: 9.691 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.00104/0.3852, allocations: 457.8 kB / 460.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.3854, allocations: 79.52 kB / 460.6 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.3856, allocations: 87.08 kB / 460.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3856, allocations: 12 kB / 460.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.3856, allocations: 0 / 460.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3856, allocations: 7.922 kB / 460.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.3888, allocations: 1.684 MB / 462.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3888, allocations: 0 / 462.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.3893, allocations: 115.8 kB / 462.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.3893, allocations: 4 kB / 462.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.3894, allocations: 15.98 kB / 462.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3894, allocations: 4 kB / 462.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3894, allocations: 4 kB / 462.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.3911, allocations: 1.13 MB / 463.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.3913, allocations: 103.4 kB / 463.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/0.3914, allocations: 16 kB / 463.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.3918, allocations: 39.95 kB / 463.8 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.392, allocations: 44.36 kB / 463.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.392, allocations: 23.88 kB / 463.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009327/0.3929, allocations: 0.5771 MB / 464.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3929, allocations: 0 / 464.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001048/0.394, allocations: 287.1 kB / 464.8 MB, free: 4.938 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.0002412/0.3942, allocations: 123 kB / 464.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.3954, allocations: 0.6417 MB / 465.5 MB, free: 4.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3955, allocations: 0 / 465.5 MB, free: 4.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.396, allocations: 306.2 kB / 465.8 MB, free: 3.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.3969, allocations: 159.5 kB / 466 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.4012, allocations: 2.3 MB / 468.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/0.4022, allocations: 0.7485 MB / 469 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006192/0.4028, allocations: 209.5 kB / 469.2 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.4029, allocations: 51.44 kB / 469.3 MB, free: 324 kB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4029, allocations: 0 / 469.3 MB, free: 324 kB / 366.1 MB Notification: Performance of Templates: time 0.02342/0.4264, allocations: 11.36 MB / 480.6 MB, free: 5.137 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: 4.900620609056205]