Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001216/0.001216, allocations: 192 kB / 18.63 MB, free: 4.508 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.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 39.69 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1018, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005006/0.1068, allocations: 3.75 MB / 355.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1087, allocations: 0.9464 MB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.109, allocations: 23.88 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1093, allocations: 146.8 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.1101, allocations: 278.4 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.1104, allocations: 127.8 kB / 356.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1116, allocations: 1.385 MB / 358.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.1128, allocations: 1.189 MB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007847/0.1136, allocations: 0.6308 MB / 360 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.1146, allocations: 0.755 MB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.1148, allocations: 156 kB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.1151, allocations: 156 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.1154, allocations: 462.8 kB / 361.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000791/0.1162, allocations: 0.7311 MB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.118, allocations: 2.033 MB / 364.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.118, allocations: 0 / 364.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.118, allocations: 4 kB / 364.2 MB, free: 6.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.118, allocations: 0 / 364.2 MB, free: 6.875 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002764/0.1208, allocations: 1.672 MB / 365.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1209, allocations: 8.031 kB / 365.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.1211, allocations: 139.3 kB / 366.1 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.1225, allocations: 0.8656 MB / 366.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.1226, allocations: 82.59 kB / 367 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.1228, allocations: 111.9 kB / 367.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.1253, allocations: 1.548 MB / 368.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.1253, allocations: 0 / 368.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/0.1254, allocations: 44 kB / 368.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.1255, allocations: 31.98 kB / 368.7 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.1275, allocations: 1.308 MB / 370.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1982/0.3257, allocations: 4.165 MB / 374.2 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.3271, allocations: 1.315 MB / 375.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009051/0.3281, allocations: 462.9 kB / 376 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.3281, allocations: 11.39 kB / 376 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3282, allocations: 37.75 kB / 376 MB, free: 22.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.3282, allocations: 1.031 kB / 376 MB, free: 22.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.004017/0.3322, allocations: 1.948 MB / 378 MB, free: 21.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3323, allocations: 62.94 kB / 378 MB, free: 21.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.3336, allocations: 0.8139 MB / 378.9 MB, free: 21.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.3337, allocations: 37.05 kB / 378.9 MB, free: 21.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.334, allocations: 0.5376 MB / 379.4 MB, free: 20.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3342, allocations: 176.2 kB / 379.6 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.3344, allocations: 108.2 kB / 379.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3345, allocations: 385.7 kB / 380.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.3351, allocations: 308.8 kB / 380.4 MB, free: 20 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.3357, allocations: 402 kB / 380.8 MB, free: 19.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3367, allocations: 0.7073 MB / 381.5 MB, free: 19.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3367, allocations: 0 / 381.5 MB, free: 19.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001843/0.3386, allocations: 0.9119 MB / 382.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.3386, allocations: 9.812 kB / 382.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3387, allocations: 3.484 kB / 382.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004156/0.3391, allocations: 110.6 kB / 382.5 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.3398, allocations: 123.9 kB / 382.6 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.3428, allocations: 2.367 MB / 385 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.3434, allocations: 28.11 kB / 385 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.3435, allocations: 19.8 kB / 385.1 MB, free: 17.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.3446, allocations: 460 kB / 385.5 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.3448, allocations: 76.06 kB / 385.6 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.345, allocations: 94.28 kB / 385.7 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.345, allocations: 8.844 kB / 385.7 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.345, allocations: 2.312 kB / 385.7 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.3451, allocations: 2.672 kB / 385.7 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/0.3496, allocations: 2.005 MB / 387.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3496, allocations: 2.344 kB / 387.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.3501, allocations: 93.5 kB / 387.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.3505, allocations: 108.5 kB / 387.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.3505, allocations: 17.77 kB / 387.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.3526, allocations: 2.319 MB / 390.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3526, allocations: 5.375 kB / 390.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.3542, allocations: 1.191 MB / 391.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.3544, allocations: 171.3 kB / 391.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.3545, allocations: 13.31 kB / 391.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.3549, allocations: 47.58 kB / 391.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.355, allocations: 49.94 kB / 391.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.355, allocations: 15.56 kB / 391.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006368/0.3557, allocations: 0.5825 MB / 392.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3557, allocations: 0 / 392.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008066/0.3565, allocations: 208 kB / 392.5 MB, free: 12.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.3567, allocations: 120.2 kB / 392.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3578, allocations: 0.8151 MB / 393.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3579, allocations: 5.312 kB / 393.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006071/0.3585, allocations: 491.4 kB / 393.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.3592, allocations: 173.9 kB / 394.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.3624, allocations: 2.195 MB / 396.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.363, allocations: 1.339 MB / 397.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.3634, allocations: 179.5 kB / 397.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3635, allocations: 52.09 kB / 397.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3635, allocations: 0 / 397.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of Templates: time 0.01401/0.3775, allocations: 10.44 MB / 408.3 MB, free: 15.15 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches