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.001054/0.001054, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 60.28 kB / 306.9 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 50.54 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005331/0.1077, allocations: 3.767 MB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1094, allocations: 1.024 MB / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1096, allocations: 23.94 kB / 362.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1099, allocations: 150.8 kB / 362.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.1107, allocations: 274.4 kB / 362.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.111, allocations: 139.8 kB / 362.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.1123, allocations: 1.393 MB / 364.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.1135, allocations: 1.193 MB / 365.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.1142, allocations: 0.6308 MB / 366.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008915/0.1151, allocations: 0.7589 MB / 366.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.1153, allocations: 156 kB / 367 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.1156, allocations: 160 kB / 367.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.116, allocations: 458.8 kB / 367.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007451/0.1168, allocations: 0.7311 MB / 368.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.1185, allocations: 2.033 MB / 370.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1186, allocations: 0 / 370.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1186, allocations: 3.938 kB / 370.3 MB, free: 1.102 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.1186, allocations: 0 / 370.3 MB, free: 1.102 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.202/0.3206, allocations: 1.667 MB / 372 MB, free: 19.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.3207, allocations: 9.344 kB / 372 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006024/0.3213, allocations: 170 kB / 372.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.3226, allocations: 0.8687 MB / 373 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.3227, allocations: 90.11 kB / 373.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.3229, allocations: 107.8 kB / 373.2 MB, free: 19.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.3255, allocations: 1.546 MB / 374.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3255, allocations: 0.5312 kB / 374.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.3256, allocations: 52.12 kB / 374.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.3256, allocations: 26.84 kB / 374.9 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.3277, allocations: 1.313 MB / 376.2 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006239/0.3339, allocations: 4.209 MB / 380.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.3349, allocations: 1.315 MB / 381.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.3356, allocations: 464.2 kB / 382.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3356, allocations: 5.938 kB / 382.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3357, allocations: 38.59 kB / 382.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.3357, allocations: 0 / 382.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003101/0.3388, allocations: 1.942 MB / 384.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3388, allocations: 59.09 kB / 384.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3399, allocations: 0.8276 MB / 385 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3399, allocations: 35.95 kB / 385.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.3403, allocations: 0.5389 MB / 385.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3404, allocations: 179 kB / 385.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.3406, allocations: 106.9 kB / 385.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3407, allocations: 391.3 kB / 386.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.3411, allocations: 307.4 kB / 386.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.3417, allocations: 393.8 kB / 386.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.3426, allocations: 0.7087 MB / 387.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3426, allocations: 0 / 387.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001217/0.3438, allocations: 0.9151 MB / 388.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3439, allocations: 6.375 kB / 388.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3439, allocations: 5.844 kB / 388.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.3441, allocations: 114.7 kB / 388.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.3446, allocations: 120.4 kB / 388.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.3464, allocations: 2.369 MB / 391.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.3468, allocations: 27.81 kB / 391.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3468, allocations: 18.41 kB / 391.2 MB, free: 8.816 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.0005173/0.3474, allocations: 459.5 kB / 391.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3475, allocations: 76.5 kB / 391.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.3476, allocations: 95.39 kB / 391.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3476, allocations: 4.781 kB / 391.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3476, allocations: 2.375 kB / 391.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3476, allocations: 4.062 kB / 391.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.3503, allocations: 2.034 MB / 393.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3503, allocations: 5.672 kB / 393.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.3507, allocations: 85.36 kB / 394 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.3509, allocations: 109.1 kB / 394.1 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.3509, allocations: 12.88 kB / 394.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.3525, allocations: 2.322 MB / 396.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3525, allocations: 1.375 kB / 396.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.354, allocations: 1.206 MB / 397.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.3542, allocations: 160.3 kB / 397.8 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.3543, allocations: 13.97 kB / 397.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.3547, allocations: 45.58 kB / 397.8 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3548, allocations: 47 kB / 397.9 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.3548, allocations: 15.56 kB / 397.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006059/0.3554, allocations: 0.5945 MB / 398.5 MB, free: 3.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3554, allocations: 0 / 398.5 MB, free: 3.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007622/0.3562, allocations: 213.5 kB / 398.7 MB, free: 3.637 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.0001607/0.3564, allocations: 110.9 kB / 398.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.3578, allocations: 0.9433 MB / 399.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3579, allocations: 3.938 kB / 399.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.3584, allocations: 485.8 kB / 400.2 MB, free: 2.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.3593, allocations: 183.2 kB / 400.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.362, allocations: 2.215 MB / 402.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009507/0.363, allocations: 1.336 MB / 404 MB, free: 14.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004499/0.3634, allocations: 185.8 kB / 404.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3636, allocations: 63.3 kB / 404.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3636, allocations: 0 / 404.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of Templates: time 0.01866/0.3822, allocations: 10.46 MB / 414.7 MB, free: 4.031 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches