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.001418/0.001418, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001813/0.001813, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.001638/0.001638, allocations: 51.92 kB / 379 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2821, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005828/0.2879, allocations: 3.829 MB / 436.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.2902, allocations: 1.083 MB / 437.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.2905, allocations: 31.75 kB / 437.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.2908, allocations: 166.8 kB / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000918/0.2918, allocations: 302.4 kB / 437.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.292, allocations: 151.8 kB / 437.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.2937, allocations: 1.416 MB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009247/0.2946, allocations: 0.6513 MB / 440 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008694/0.2955, allocations: 0.6659 MB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.2966, allocations: 0.7901 MB / 441.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.2968, allocations: 163.9 kB / 441.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.2971, allocations: 168 kB / 441.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.2975, allocations: 470.7 kB / 442.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.2983, allocations: 0.7428 MB / 443 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.3005, allocations: 2.08 MB / 445.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3005, allocations: 0 / 445.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3005, allocations: 0 / 445.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.741e-05/0.3006, allocations: 4 kB / 445.1 MB, free: 10.14 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.003288/0.3038, allocations: 1.654 MB / 446.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3039, allocations: 8.031 kB / 446.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005132/0.3044, allocations: 180 kB / 446.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.3061, allocations: 0.8746 MB / 447.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.3061, allocations: 86.38 kB / 447.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.3063, allocations: 112 kB / 448 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.3089, allocations: 1.576 MB / 449.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.3089, allocations: 0 / 449.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.309, allocations: 44 kB / 449.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.3091, allocations: 28 kB / 449.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.3113, allocations: 1.332 MB / 451 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007267/0.3186, allocations: 4.211 MB / 455.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.3196, allocations: 0.6169 MB / 455.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009193/0.3205, allocations: 0.4944 MB / 456.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.3205, allocations: 4.438 kB / 456.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.3206, allocations: 43 kB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.726e-06/0.3206, allocations: 4 kB / 456.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.0016/0.3222, allocations: 0.881 MB / 457.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3222, allocations: 55.84 kB / 457.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.3234, allocations: 0.836 MB / 458.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.3234, allocations: 37.7 kB / 458.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.3239, allocations: 0.5661 MB / 458.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.3241, allocations: 190.4 kB / 458.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3242, allocations: 102.3 kB / 459 MB, free: 11.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.3245, allocations: 386.8 kB / 459.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.3249, allocations: 301.1 kB / 459.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.3255, allocations: 399.4 kB / 460 MB, free: 10.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3266, allocations: 0.6853 MB / 460.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3266, allocations: 0 / 460.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00139/0.328, allocations: 0.8248 MB / 461.6 MB, free: 9.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.328, allocations: 4 kB / 461.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.328, allocations: 4 kB / 461.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.328, allocations: 4 kB / 461.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.3286, allocations: 148.1 kB / 461.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3286, allocations: 8 kB / 461.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.329, allocations: 67.55 kB / 461.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.3291, allocations: 23.98 kB / 461.8 MB, free: 9 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.0006827/0.3297, allocations: 461.7 kB / 462.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.3299, allocations: 75.53 kB / 462.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.3301, allocations: 95.06 kB / 462.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3301, allocations: 4 kB / 462.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3301, allocations: 0 / 462.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3301, allocations: 7.938 kB / 462.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.3333, allocations: 1.929 MB / 464.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3333, allocations: 0 / 464.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.3338, allocations: 119.9 kB / 464.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3338, allocations: 4 kB / 464.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.3338, allocations: 15.94 kB / 464.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3338, allocations: 4 kB / 464.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3338, allocations: 4.156 kB / 464.5 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.3355, allocations: 1.126 MB / 465.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.3357, allocations: 103.4 kB / 465.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.3358, allocations: 12 kB / 465.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.3362, allocations: 47.95 kB / 465.8 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.3363, allocations: 44.3 kB / 465.8 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.3363, allocations: 16 kB / 465.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008081/0.3372, allocations: 0.6005 MB / 466.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3372, allocations: 3.938 kB / 466.5 MB, free: 4.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007557/0.3379, allocations: 287.1 kB / 466.7 MB, free: 3.965 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.0001864/0.3381, allocations: 115.1 kB / 466.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3392, allocations: 0.6376 MB / 467.5 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3392, allocations: 0 / 467.5 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.3397, allocations: 314.2 kB / 467.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/0.3406, allocations: 182.4 kB / 468 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.3445, allocations: 2.314 MB / 470.3 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.3456, allocations: 1.316 MB / 471.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3459, allocations: 55.44 kB / 471.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3459, allocations: 0 / 471.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02123/0.3671, allocations: 13.54 MB / 485.2 MB, free: 1.477 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/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: 7.9784762179479]