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.00107/0.001071, allocations: 108.6 kB / 16.51 MB, free: 6.707 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.001157/0.001157, allocations: 192.1 kB / 17.43 MB, free: 6.066 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 43.81 kB / 299.9 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.105, allocations: 49.45 MB / 349.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005029/0.1101, allocations: 3.807 MB / 353.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1118, allocations: 0.9777 MB / 354.2 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.1121, allocations: 23.92 kB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1124, allocations: 123.1 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.1131, allocations: 270.7 kB / 354.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1134, allocations: 115.9 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1147, allocations: 1.65 MB / 356.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.1159, allocations: 1.035 MB / 357.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.1165, allocations: 0.5371 MB / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/0.1175, allocations: 0.747 MB / 358.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.1177, allocations: 104 kB / 358.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.1179, allocations: 104 kB / 358.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.1183, allocations: 402.8 kB / 359.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.119, allocations: 0.6764 MB / 359.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1205, allocations: 1.994 MB / 361.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1206, allocations: 0 / 361.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1206, allocations: 4 kB / 361.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1206, allocations: 0 / 361.9 MB, free: 8.18 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.002784/0.1234, allocations: 1.684 MB / 363.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1234, allocations: 8.031 kB / 363.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.1237, allocations: 143.2 kB / 363.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.1248, allocations: 0.8578 MB / 364.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.1249, allocations: 82.62 kB / 364.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.125, allocations: 115.9 kB / 364.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.1274, allocations: 1.572 MB / 366.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.1274, allocations: 4 kB / 366.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1276, allocations: 44 kB / 366.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.1276, allocations: 31.94 kB / 366.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.1296, allocations: 1.336 MB / 367.8 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/0.3226, allocations: 4.302 MB / 372.1 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3238, allocations: 1.343 MB / 373.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/0.3248, allocations: 0.5325 MB / 374 MB, free: 22.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.3248, allocations: 6.469 kB / 374 MB, free: 22.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3249, allocations: 38.47 kB / 374 MB, free: 22.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.906e-06/0.3249, allocations: 1.125 kB / 374 MB, free: 22.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001582/0.3265, allocations: 0.8727 MB / 374.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3265, allocations: 58.22 kB / 375 MB, free: 21.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3277, allocations: 0.8248 MB / 375.8 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.3277, allocations: 36.45 kB / 375.8 MB, free: 21.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.3281, allocations: 0.5446 MB / 376.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3283, allocations: 179.9 kB / 376.5 MB, free: 21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3284, allocations: 104.9 kB / 376.6 MB, free: 20.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3286, allocations: 382.8 kB / 377 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.3291, allocations: 299.8 kB / 377.3 MB, free: 20.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.3296, allocations: 399.7 kB / 377.7 MB, free: 20.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.3306, allocations: 0.6868 MB / 378.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3306, allocations: 5.531 kB / 378.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001258/0.3318, allocations: 0.825 MB / 379.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3319, allocations: 9.5 kB / 379.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3319, allocations: 4.156 kB / 379.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3319, allocations: 5.156 kB / 379.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.3325, allocations: 148.7 kB / 379.4 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3325, allocations: 11.19 kB / 379.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.3329, allocations: 56.38 kB / 379.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.333, allocations: 18.86 kB / 379.5 MB, free: 19.68 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.000651/0.3336, allocations: 466.8 kB / 379.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3338, allocations: 74.3 kB / 380 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.3339, allocations: 88.64 kB / 380.1 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3339, allocations: 5.625 kB / 380.1 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3339, allocations: 0 / 380.1 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3339, allocations: 2.672 kB / 380.1 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.3369, allocations: 1.954 MB / 382 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3369, allocations: 1.578 kB / 382 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.3374, allocations: 122.7 kB / 382.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.922e-06/0.3374, allocations: 4.219 kB / 382.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.3374, allocations: 13.81 kB / 382.2 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3374, allocations: 2.625 kB / 382.2 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3375, allocations: 3.203 kB / 382.2 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3389, allocations: 1.121 MB / 383.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.339, allocations: 172.5 kB / 383.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/0.3391, allocations: 13.77 kB / 383.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.3395, allocations: 51.75 kB / 383.5 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.3396, allocations: 40.94 kB / 383.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.3396, allocations: 16.3 kB / 383.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007072/0.3404, allocations: 0.5877 MB / 384.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3404, allocations: 0 / 384.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007045/0.3411, allocations: 283.5 kB / 384.5 MB, free: 17.42 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.0001211/0.3412, allocations: 117.3 kB / 384.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.3421, allocations: 0.647 MB / 385.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3421, allocations: 5.406 kB / 385.2 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.3425, allocations: 332.4 kB / 385.6 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.3434, allocations: 171.9 kB / 385.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.3466, allocations: 2.785 MB / 388.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.3472, allocations: 1.334 MB / 389.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004551/0.3477, allocations: 215 kB / 390 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.3479, allocations: 49.75 kB / 390.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3479, allocations: 1.656 kB / 390.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of Templates: time 0.01312/0.361, allocations: 9.517 MB / 399.6 MB, free: 7.164 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/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