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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00147/0.00147, allocations: 210.5 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001665/0.001665, allocations: 55.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2584, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005328/0.2637, allocations: 3.471 MB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2661, allocations: 1.04 MB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.2664, allocations: 39.69 kB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.2668, allocations: 154.8 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008968/0.2677, allocations: 306.3 kB / 436.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.268, allocations: 147.8 kB / 436.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.2694, allocations: 1.416 MB / 438.1 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009096/0.2703, allocations: 0.6354 MB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.2712, allocations: 0.6698 MB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.2723, allocations: 0.8056 MB / 440.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.2725, allocations: 160 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.2728, allocations: 168 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.2732, allocations: 466.7 kB / 441 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006675/0.2739, allocations: 0.6068 MB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.276, allocations: 2.097 MB / 443.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.276, allocations: 0 / 443.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.276, allocations: 0 / 443.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.276, allocations: 0 / 443.7 MB, free: 10.49 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.003188/0.2792, allocations: 1.65 MB / 445.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2792, allocations: 12.03 kB / 445.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/0.2798, allocations: 180 kB / 445.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.2815, allocations: 0.8707 MB / 446.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.2816, allocations: 86.38 kB / 446.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.2818, allocations: 108 kB / 446.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.2845, allocations: 1.727 MB / 448.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.2845, allocations: 0 / 448.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.2846, allocations: 47.98 kB / 448.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.2847, allocations: 28 kB / 448.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.2869, allocations: 1.34 MB / 449.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007011/0.2939, allocations: 3.708 MB / 453.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.295, allocations: 0.6247 MB / 454.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009191/0.2959, allocations: 0.4905 MB / 454.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.2959, allocations: 4.438 kB / 454.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.2959, allocations: 39 kB / 454.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.304e-06/0.2959, allocations: 3.938 kB / 454.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00154/0.2975, allocations: 0.8811 MB / 455.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.2975, allocations: 55.84 kB / 455.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2986, allocations: 0.8047 MB / 456.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.2987, allocations: 37.7 kB / 456.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.2992, allocations: 0.5623 MB / 457 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.2993, allocations: 190.4 kB / 457.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.2995, allocations: 106.3 kB / 457.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.2997, allocations: 382.7 kB / 457.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.3002, allocations: 305.1 kB / 457.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.3008, allocations: 399.3 kB / 458.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3018, allocations: 0.6892 MB / 459 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3018, allocations: 0 / 459 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001306/0.3031, allocations: 0.825 MB / 459.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3031, allocations: 8.062 kB / 459.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3031, allocations: 4 kB / 459.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3031, allocations: 4 kB / 459.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.3037, allocations: 147.8 kB / 460 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3038, allocations: 4 kB / 460 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.3041, allocations: 63.59 kB / 460.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.3042, allocations: 19.94 kB / 460.1 MB, free: 9.707 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.0006476/0.3048, allocations: 469.7 kB / 460.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3049, allocations: 75.53 kB / 460.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.3051, allocations: 91.08 kB / 460.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3051, allocations: 4 kB / 460.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3051, allocations: 0 / 460.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3051, allocations: 3.984 kB / 460.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.3081, allocations: 1.692 MB / 462.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3081, allocations: 0 / 462.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.3086, allocations: 119.9 kB / 462.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3086, allocations: 4 kB / 462.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3086, allocations: 11.94 kB / 462.5 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3086, allocations: 8.156 kB / 462.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3086, allocations: 0 / 462.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.3103, allocations: 1.134 MB / 463.7 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.3105, allocations: 95.44 kB / 463.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.3106, allocations: 19.92 kB / 463.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.311, allocations: 47.95 kB / 463.8 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.3111, allocations: 40.38 kB / 463.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.3111, allocations: 19.92 kB / 463.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007901/0.3119, allocations: 0.5732 MB / 464.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3119, allocations: 0 / 464.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007557/0.3127, allocations: 291.1 kB / 464.8 MB, free: 4.945 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.0001628/0.3128, allocations: 119.1 kB / 464.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3139, allocations: 0.6337 MB / 465.5 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.3139, allocations: 4 kB / 465.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.3144, allocations: 307.1 kB / 465.8 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.3153, allocations: 173 kB / 466 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.3192, allocations: 2.3 MB / 468.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/0.3201, allocations: 0.7446 MB / 469 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005194/0.3206, allocations: 209.5 kB / 469.2 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3208, allocations: 51.44 kB / 469.3 MB, free: 332 kB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3208, allocations: 0 / 469.3 MB, free: 332 kB / 366.1 MB Notification: Performance of Templates: time 0.02077/0.3415, allocations: 11.14 MB / 480.4 MB, free: 5.371 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.845851676538587]