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.001518/0.001518, allocations: 98.88 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002388, allocations: 4 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1234, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003603/0.1271, allocations: 3.064 MB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1291, allocations: 0.9704 MB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.1293, allocations: 15.94 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1297, allocations: 135.3 kB / 362.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008638/0.1305, allocations: 211.3 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1308, allocations: 87.91 kB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.1319, allocations: 0.8535 MB / 363.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.1329, allocations: 0.8059 MB / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.1336, allocations: 446.3 kB / 364.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/0.1343, allocations: 0.5213 MB / 365.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1344, allocations: 68 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.1346, allocations: 75.94 kB / 365.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.1349, allocations: 331 kB / 365.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.1352, allocations: 273.1 kB / 365.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.1366, allocations: 1.609 MB / 367.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1366, allocations: 3.938 kB / 367.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1366, allocations: 0 / 367.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.1366, allocations: 0 / 367.5 MB, free: 4.449 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.002507/0.1392, allocations: 1.476 MB / 369 MB, free: 2.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1392, allocations: 8.031 kB / 369 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004979/0.1397, allocations: 186.3 kB / 369.2 MB, free: 2.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.1411, allocations: 0.8103 MB / 370 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.1412, allocations: 82.22 kB / 370.1 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.1413, allocations: 115.9 kB / 370.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.1438, allocations: 1.537 MB / 371.7 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1438, allocations: 0 / 371.7 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1439, allocations: 48 kB / 371.7 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1439, allocations: 24 kB / 371.8 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.217/0.3609, allocations: 1.31 MB / 373.1 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008111/0.3691, allocations: 4.247 MB / 377.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3702, allocations: 1.321 MB / 378.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.3702, allocations: 5.062 kB / 378.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3702, allocations: 39.08 kB / 378.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.745e-06/0.3703, allocations: 3.938 kB / 378.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.003424/0.3737, allocations: 1.982 MB / 380.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3737, allocations: 57.91 kB / 380.7 MB, free: 15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.3748, allocations: 0.8115 MB / 381.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3748, allocations: 36.14 kB / 381.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.3752, allocations: 0.5394 MB / 382.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3753, allocations: 171.2 kB / 382.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3753, allocations: 9.969 kB / 382.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3754, allocations: 382.7 kB / 382.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.3759, allocations: 318.7 kB / 383 MB, free: 13.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.3764, allocations: 405.6 kB / 383.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.377, allocations: 382.4 kB / 383.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3771, allocations: 1.688 kB / 383.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001429/0.3785, allocations: 0.9356 MB / 384.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3785, allocations: 10.23 kB / 384.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3785, allocations: 5.562 kB / 384.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.3788, allocations: 108.6 kB / 384.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.3794, allocations: 127.2 kB / 384.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.3813, allocations: 2.195 MB / 387.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.3817, allocations: 33.19 kB / 387.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.3818, allocations: 17.38 kB / 387.2 MB, free: 11.12 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006823/0.3825, allocations: 453.5 kB / 387.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3826, allocations: 72.38 kB / 387.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.3827, allocations: 99.25 kB / 387.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3827, allocations: 5.25 kB / 387.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.3828, allocations: 1.219 kB / 387.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3828, allocations: 6.672 kB / 387.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.3859, allocations: 2.001 MB / 389.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3859, allocations: 4.812 kB / 389.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.3863, allocations: 90.72 kB / 389.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.3865, allocations: 108.7 kB / 390 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.3865, allocations: 15.48 kB / 390 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.3882, allocations: 2.145 MB / 392.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3882, allocations: 9.453 kB / 392.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3899, allocations: 1.222 MB / 393.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.3901, allocations: 162.7 kB / 393.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.3902, allocations: 16.14 kB / 393.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.3906, allocations: 51.33 kB / 393.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.3907, allocations: 37.31 kB / 393.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.3907, allocations: 15.06 kB / 393.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007039/0.3914, allocations: 0.5825 MB / 394.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3914, allocations: 0 / 394.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008258/0.3923, allocations: 209.9 kB / 394.5 MB, free: 6.402 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.3924, allocations: 119.1 kB / 394.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3937, allocations: 0.8348 MB / 395.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3938, allocations: 0 / 395.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.3945, allocations: 490.6 kB / 395.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.3952, allocations: 160 kB / 396 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.3987, allocations: 2.604 MB / 398.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.3994, allocations: 1.353 MB / 400 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004793/0.3999, allocations: 193.1 kB / 400.2 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4, allocations: 48.84 kB / 400.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4, allocations: 0 / 400.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of Templates: time 0.01758/0.4176, allocations: 9.579 MB / 409.8 MB, free: 9.277 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches