Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 110.7 kB / 18.35 MB, free: 4.84 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.002029/0.002029, allocations: 184.2 kB / 19.29 MB, free: 3.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 51.88 kB / 329.1 MB, free: 3.352 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.0913, allocations: 46.62 MB / 375.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004834/0.09618, allocations: 3.728 MB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1961/0.2923, allocations: 1.011 MB / 380.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005822/0.2929, allocations: 20.97 kB / 380.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.2933, allocations: 145.7 kB / 380.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009444/0.2943, allocations: 276.1 kB / 380.9 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.2946, allocations: 132.5 kB / 381 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.296, allocations: 1.414 MB / 382.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.2974, allocations: 1.114 MB / 383.6 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.2983, allocations: 0.6249 MB / 384.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.2994, allocations: 0.7518 MB / 384.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.2996, allocations: 156.2 kB / 385.1 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.2998, allocations: 156 kB / 385.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.3003, allocations: 459.8 kB / 385.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007676/0.301, allocations: 0.725 MB / 386.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.3032, allocations: 2.034 MB / 388.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3032, allocations: 0 / 388.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3032, allocations: 0 / 388.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.918e-05/0.3032, allocations: 1.25 kB / 388.5 MB, free: 7.555 MB / 318.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.003174/0.3064, allocations: 1.661 MB / 390.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3065, allocations: 13.61 kB / 390.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.3067, allocations: 142.3 kB / 390.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.3079, allocations: 0.8144 MB / 391.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.308, allocations: 86.06 kB / 391.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3081, allocations: 111.7 kB / 391.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.3107, allocations: 1.534 MB / 392.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.3108, allocations: 7.938 kB / 392.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3109, allocations: 47.09 kB / 392.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.3109, allocations: 26.91 kB / 392.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.3132, allocations: 1.308 MB / 394.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006593/0.3198, allocations: 4.164 MB / 398.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/0.3208, allocations: 1.306 MB / 399.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.3215, allocations: 455.7 kB / 400.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.3216, allocations: 4.969 kB / 400.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3216, allocations: 47.94 kB / 400.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.3216, allocations: 0 / 400.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.003311/0.3249, allocations: 1.947 MB / 402.1 MB, free: 16 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.325, allocations: 56.47 kB / 402.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3264, allocations: 0.8092 MB / 403 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.3265, allocations: 36.83 kB / 403 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.3269, allocations: 0.5408 MB / 403.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.327, allocations: 173.9 kB / 403.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.3272, allocations: 102.2 kB / 403.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.3275, allocations: 396.2 kB / 404.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.328, allocations: 299 kB / 404.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.3286, allocations: 406 kB / 404.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3297, allocations: 0.6987 MB / 405.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3297, allocations: 1.156 kB / 405.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001556/0.3313, allocations: 0.9152 MB / 406.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3313, allocations: 4.656 kB / 406.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3313, allocations: 3.25 kB / 406.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.3317, allocations: 113.9 kB / 406.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.3322, allocations: 128.5 kB / 406.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/0.3348, allocations: 2.374 MB / 409.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.3353, allocations: 24.33 kB / 409.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.3354, allocations: 30.58 kB / 409.2 MB, free: 10.85 MB / 334.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.0007268/0.3361, allocations: 460 kB / 409.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.3363, allocations: 76.12 kB / 409.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.3365, allocations: 88.11 kB / 409.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3365, allocations: 8.75 kB / 409.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.3365, allocations: 3.188 kB / 409.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.3365, allocations: 3.984 kB / 409.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.3402, allocations: 2.01 MB / 411.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3402, allocations: 1.375 kB / 411.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.3406, allocations: 95.34 kB / 411.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.3408, allocations: 108.9 kB / 412 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.3409, allocations: 13.5 kB / 412 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/0.3432, allocations: 2.322 MB / 414.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3432, allocations: 1.438 kB / 414.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.345, allocations: 1.202 MB / 415.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.3454, allocations: 160.3 kB / 415.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.3456, allocations: 20.27 kB / 415.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.3461, allocations: 44.02 kB / 415.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3462, allocations: 52.3 kB / 415.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.3462, allocations: 19.94 kB / 415.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008813/0.3471, allocations: 0.581 MB / 416.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3471, allocations: 0 / 416.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3482, allocations: 212 kB / 416.6 MB, free: 4.738 MB / 334.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.000197/0.3484, allocations: 115.2 kB / 416.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3499, allocations: 0.8206 MB / 417.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3499, allocations: 0.625 kB / 417.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.3507, allocations: 0.4936 MB / 418.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000987/0.3516, allocations: 165.8 kB / 418.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.3557, allocations: 2.192 MB / 420.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.3569, allocations: 1.317 MB / 421.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.3571, allocations: 51.42 kB / 421.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3571, allocations: 0 / 421.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Templates: time 0.02605/0.3832, allocations: 18.78 MB / 440.6 MB, free: 12.68 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches