Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 116.9 kB / 18.4 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 200.6 kB / 19.34 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 60.34 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1307, allocations: 50.54 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006284/0.137, allocations: 3.774 MB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1394, allocations: 1.013 MB / 363.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/0.1399, allocations: 27.88 kB / 363.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.1404, allocations: 146.8 kB / 363.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1415, allocations: 282.4 kB / 364.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1418, allocations: 131.8 kB / 364.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1433, allocations: 1.404 MB / 365.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.1447, allocations: 1.193 MB / 366.9 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008617/0.1456, allocations: 0.6386 MB / 367.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.1466, allocations: 0.7589 MB / 368.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.1469, allocations: 156 kB / 368.4 MB, free: 3.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.1472, allocations: 160 kB / 368.6 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.1476, allocations: 466.7 kB / 369 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008462/0.1485, allocations: 0.7272 MB / 369.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.1501, allocations: 2.037 MB / 371.8 MB, free: 344 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1501, allocations: 0 / 371.8 MB, free: 344 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1501, allocations: 0 / 371.8 MB, free: 344 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.1501, allocations: 0 / 371.8 MB, free: 344 kB / 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.1916/0.3417, allocations: 1.674 MB / 373.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.3418, allocations: 8.656 kB / 373.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.3425, allocations: 170.7 kB / 373.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.3446, allocations: 0.9 MB / 374.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.3447, allocations: 83.88 kB / 374.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3449, allocations: 111.7 kB / 374.7 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.3475, allocations: 1.547 MB / 376.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3475, allocations: 1.375 kB / 376.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.3476, allocations: 50.22 kB / 376.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.3476, allocations: 26.69 kB / 376.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.3497, allocations: 1.315 MB / 377.7 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006198/0.3559, allocations: 4.167 MB / 381.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000987/0.3569, allocations: 1.315 MB / 383.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/0.3576, allocations: 459.8 kB / 383.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.3576, allocations: 5.188 kB / 383.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3577, allocations: 44.53 kB / 383.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.315e-06/0.3577, allocations: 0 / 383.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003068/0.3607, allocations: 1.938 MB / 385.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.3608, allocations: 60.28 kB / 385.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3619, allocations: 0.8279 MB / 386.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.3619, allocations: 32.36 kB / 386.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.3622, allocations: 0.5469 MB / 387 MB, free: 12.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3624, allocations: 178.2 kB / 387.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.3626, allocations: 107.9 kB / 387.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3628, allocations: 387 kB / 387.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.3633, allocations: 303.7 kB / 388 MB, free: 12.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.3638, allocations: 401.9 kB / 388.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009211/0.3648, allocations: 0.7051 MB / 389.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3648, allocations: 1.312 kB / 389.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001286/0.3661, allocations: 0.9104 MB / 390 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3661, allocations: 6.5 kB / 390 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3661, allocations: 3.625 kB / 390 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.3664, allocations: 120.5 kB / 390.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.3669, allocations: 119.7 kB / 390.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.3687, allocations: 2.357 MB / 392.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.3691, allocations: 28.73 kB / 392.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3691, allocations: 23 kB / 392.7 MB, free: 8.777 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.0005449/0.3697, allocations: 462.1 kB / 393.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3698, allocations: 76.19 kB / 393.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.3699, allocations: 93.2 kB / 393.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3699, allocations: 5.5 kB / 393.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.37, allocations: 1.375 kB / 393.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.37, allocations: 5.359 kB / 393.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3728, allocations: 2.018 MB / 395.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3728, allocations: 2.594 kB / 395.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.3731, allocations: 86.3 kB / 395.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.3733, allocations: 107.5 kB / 395.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3734, allocations: 19.86 kB / 395.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.375, allocations: 2.317 MB / 397.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.375, allocations: 4.5 kB / 397.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.3763, allocations: 1.206 MB / 399 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.3764, allocations: 161.3 kB / 399.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.3765, allocations: 11.78 kB / 399.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.3769, allocations: 47.2 kB / 399.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.377, allocations: 42.25 kB / 399.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.377, allocations: 19.78 kB / 399.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006313/0.3777, allocations: 0.5908 MB / 399.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3777, allocations: 0 / 399.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007016/0.3784, allocations: 212.1 kB / 400.1 MB, free: 3.535 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.0001232/0.3785, allocations: 115.2 kB / 400.2 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3795, allocations: 0.8221 MB / 401.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3795, allocations: 0 / 401.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.3801, allocations: 493.7 kB / 401.5 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.3808, allocations: 183.1 kB / 401.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3832, allocations: 2.194 MB / 403.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000821/0.3841, allocations: 1.345 MB / 405.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003565/0.3844, allocations: 185.8 kB / 405.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3846, allocations: 51.42 kB / 405.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3846, allocations: 0 / 405.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Templates: time 0.0161/0.4007, allocations: 10.45 MB / 415.9 MB, free: 3.77 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches