Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 112.3 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009828/0.000983, allocations: 46.58 kB / 302 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09397, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004658/0.09867, allocations: 3.765 MB / 355.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1003, allocations: 0.997 MB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.1005, allocations: 27.88 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1008, allocations: 150.8 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006964/0.1015, allocations: 286.4 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1017, allocations: 123.9 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1029, allocations: 1.412 MB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.1041, allocations: 1.217 MB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.1047, allocations: 0.6425 MB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008991/0.1056, allocations: 0.7667 MB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.1058, allocations: 160 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.106, allocations: 160 kB / 361.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.1064, allocations: 470.7 kB / 361.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006705/0.1071, allocations: 0.7428 MB / 362.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.1086, allocations: 2.064 MB / 364.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1086, allocations: 0 / 364.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1087, allocations: 3.938 kB / 364.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.1087, allocations: 0 / 364.4 MB, free: 6.656 MB / 302.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.002768/0.1115, allocations: 1.691 MB / 366.1 MB, free: 4.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1115, allocations: 12.03 kB / 366.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.1117, allocations: 143.2 kB / 366.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.1133, allocations: 0.8812 MB / 367.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.1134, allocations: 90.62 kB / 367.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1135, allocations: 119.9 kB / 367.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.1157, allocations: 1.568 MB / 368.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1158, allocations: 0 / 368.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/0.1159, allocations: 48 kB / 369 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.1159, allocations: 28 kB / 369 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.1179, allocations: 1.336 MB / 370.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1725/0.2904, allocations: 4.258 MB / 374.6 MB, free: 23.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2915, allocations: 1.345 MB / 376 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/0.2924, allocations: 0.5248 MB / 376.5 MB, free: 22.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.2924, allocations: 9.875 kB / 376.5 MB, free: 22.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2924, allocations: 38.47 kB / 376.5 MB, free: 22.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/0.2924, allocations: 1.969 kB / 376.5 MB, free: 22.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001421/0.2939, allocations: 0.867 MB / 377.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2939, allocations: 59.47 kB / 377.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.295, allocations: 0.8282 MB / 378.3 MB, free: 21.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.295, allocations: 36.05 kB / 378.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.2954, allocations: 0.5429 MB / 378.9 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2955, allocations: 178.6 kB / 379 MB, free: 21.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.2957, allocations: 103.2 kB / 379.1 MB, free: 20.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2958, allocations: 382.5 kB / 379.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.2963, allocations: 305.2 kB / 379.8 MB, free: 20.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.2967, allocations: 394.2 kB / 380.2 MB, free: 20.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.2976, allocations: 0.6846 MB / 380.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2977, allocations: 1.344 kB / 380.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001123/0.2988, allocations: 0.8295 MB / 381.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2988, allocations: 5.656 kB / 381.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2988, allocations: 2.25 kB / 381.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2989, allocations: 6.547 kB / 381.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.2995, allocations: 148.2 kB / 381.9 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2995, allocations: 9.094 kB / 381.9 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.2998, allocations: 63.44 kB / 381.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.2999, allocations: 21.23 kB / 382 MB, free: 19.67 MB / 302.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.0005273/0.3004, allocations: 459.2 kB / 382.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3005, allocations: 77.75 kB / 382.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.3007, allocations: 96.14 kB / 382.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3007, allocations: 5.562 kB / 382.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3007, allocations: 3.812 kB / 382.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3007, allocations: 3.781 kB / 382.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.3038, allocations: 1.943 MB / 384.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3038, allocations: 3.156 kB / 384.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.3044, allocations: 119.4 kB / 384.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.3044, allocations: 6.781 kB / 384.7 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.3044, allocations: 14.88 kB / 384.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.3044, allocations: 2.781 kB / 384.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3044, allocations: 6.219 kB / 384.7 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.3059, allocations: 1.12 MB / 385.8 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.3061, allocations: 173.1 kB / 386 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.3062, allocations: 9.344 kB / 386 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3066, allocations: 51.09 kB / 386 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3067, allocations: 43.03 kB / 386.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.3067, allocations: 14.16 kB / 386.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006379/0.3074, allocations: 0.5883 MB / 386.7 MB, free: 17.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3074, allocations: 0 / 386.7 MB, free: 17.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.3081, allocations: 287.7 kB / 387 MB, free: 17.31 MB / 302.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.0001202/0.3082, allocations: 115.4 kB / 387.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008645/0.3091, allocations: 0.6555 MB / 387.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3091, allocations: 0 / 387.7 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.3095, allocations: 328.1 kB / 388 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.3103, allocations: 182.5 kB / 388.2 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.3136, allocations: 2.255 MB / 390.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.3143, allocations: 1.337 MB / 391.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000416/0.3147, allocations: 211.9 kB / 392 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.3148, allocations: 51.41 kB / 392.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3148, allocations: 4.906 kB / 392.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01324/0.3281, allocations: 9.994 MB / 402.1 MB, free: 5.727 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches