Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001327/0.001327, allocations: 111.2 kB / 21.93 MB, free: 5.223 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.001373/0.001373, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 67.84 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3053, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004939/0.3103, allocations: 3.416 MB / 401 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.3123, allocations: 1.02 MB / 402 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.3126, allocations: 24.75 kB / 402.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.3129, allocations: 160 kB / 402.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008675/0.3138, allocations: 305.7 kB / 402.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3141, allocations: 137.6 kB / 402.6 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.316, allocations: 1.458 MB / 404.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.3171, allocations: 0.5941 MB / 404.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.3185, allocations: 0.6518 MB / 405.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.32, allocations: 0.7931 MB / 406.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.3203, allocations: 159.9 kB / 406.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.3207, allocations: 159 kB / 406.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.3212, allocations: 472.1 kB / 406.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008301/0.322, allocations: 0.6057 MB / 407.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.3245, allocations: 2.084 MB / 409.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3246, allocations: 0 / 409.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3246, allocations: 5.25 kB / 409.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.575e-05/0.3246, allocations: 0 / 409.6 MB, free: 2.758 MB / 318.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.003338/0.3279, allocations: 1.639 MB / 411.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.328, allocations: 16.77 kB / 411.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.3283, allocations: 147.7 kB / 411.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.3299, allocations: 0.7935 MB / 412.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.3299, allocations: 87.31 kB / 412.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.3301, allocations: 109.8 kB / 412.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.3327, allocations: 1.718 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.3327, allocations: 3.938 kB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.3328, allocations: 51.25 kB / 414.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.3328, allocations: 26.47 kB / 414.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.3353, allocations: 1.324 MB / 415.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007213/0.3425, allocations: 3.72 MB / 419.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3435, allocations: 0.6173 MB / 419.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009463/0.3445, allocations: 493.5 kB / 420.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3445, allocations: 5.062 kB / 420.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.3446, allocations: 39 kB / 420.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.435e-06/0.3446, allocations: 0 / 420.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001649/0.3462, allocations: 0.8865 MB / 421.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.3463, allocations: 59.84 kB / 421.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.3474, allocations: 0.7969 MB / 422.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.3475, allocations: 29.7 kB / 422.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/0.3479, allocations: 0.5662 MB / 422.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.3481, allocations: 182.4 kB / 422.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.3483, allocations: 98.34 kB / 423 MB, free: 9.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.3485, allocations: 394.7 kB / 423.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.349, allocations: 301.1 kB / 423.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.3496, allocations: 395.4 kB / 424.1 MB, free: 8.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3506, allocations: 0.6853 MB / 424.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.3506, allocations: 4 kB / 424.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001515/0.3521, allocations: 0.825 MB / 425.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3521, allocations: 7.938 kB / 425.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3522, allocations: 4 kB / 425.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.3522, allocations: 4 kB / 425.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.3528, allocations: 151.8 kB / 425.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.3528, allocations: 8 kB / 425.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.3534, allocations: 59.59 kB / 425.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.3534, allocations: 23.94 kB / 425.8 MB, free: 6.508 MB / 334.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.0009098/0.3543, allocations: 469.5 kB / 426.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3545, allocations: 75.53 kB / 426.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.3546, allocations: 86.83 kB / 426.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3546, allocations: 4 kB / 426.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3547, allocations: 0 / 426.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.3547, allocations: 7.984 kB / 426.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.3578, allocations: 1.676 MB / 428.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3579, allocations: 3.938 kB / 428.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.3584, allocations: 111.9 kB / 428.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.3584, allocations: 4 kB / 428.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.3584, allocations: 15.98 kB / 428.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.3584, allocations: 12.09 kB / 428.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3584, allocations: 4 kB / 428.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3601, allocations: 1.126 MB / 429.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3603, allocations: 91.47 kB / 429.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.998e-05/0.3604, allocations: 16 kB / 429.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.3608, allocations: 51.95 kB / 429.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.361, allocations: 40.3 kB / 429.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.361, allocations: 19.94 kB / 429.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008728/0.3619, allocations: 0.5692 MB / 430.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3619, allocations: 0 / 430.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008482/0.3627, allocations: 295 kB / 430.5 MB, free: 1.75 MB / 334.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.0001747/0.3629, allocations: 107.2 kB / 430.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.364, allocations: 0.6376 MB / 431.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.364, allocations: 0 / 431.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.3645, allocations: 306.2 kB / 431.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.3654, allocations: 171.8 kB / 431.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.3701, allocations: 2.321 MB / 434 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.371, allocations: 0.7173 MB / 434.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.3713, allocations: 63.38 kB / 434.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3713, allocations: 0 / 434.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Templates: time 0.02455/0.3958, allocations: 13.68 MB / 448.5 MB, free: 15.63 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.524066708050668]