Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 107.9 kB / 18.4 MB, free: 4.676 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.001007/0.001007, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001152/0.001152, allocations: 47.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07621/0.07737, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1543/0.2317, allocations: 7.715 MB / 383.5 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.2358, allocations: 2.734 MB / 386.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005703/0.2364, allocations: 57.84 kB / 386.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.2375, allocations: 0.562 MB / 386.9 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.2389, allocations: 0.7341 MB / 387.6 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.2397, allocations: 435.5 kB / 388.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.2425, allocations: 3.409 MB / 391.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/0.2457, allocations: 3.434 MB / 394.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.2482, allocations: 1.655 MB / 396.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.2507, allocations: 2.024 MB / 398.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007061/0.2514, allocations: 460.6 kB / 399 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.2527, allocations: 0.6686 MB / 399.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.2537, allocations: 1.244 MB / 400.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.2555, allocations: 1.962 MB / 402.9 MB, free: 36 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.2613, allocations: 6.102 MB / 409 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.2613, allocations: 5 kB / 409 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2613, allocations: 4 kB / 409 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.2614, allocations: 0 / 409 MB, free: 12.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007052/0.2685, allocations: 3.77 MB / 412.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2685, allocations: 12.72 kB / 412.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.2695, allocations: 389.5 kB / 413.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.2725, allocations: 1.961 MB / 415.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.2727, allocations: 227.8 kB / 415.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/0.2731, allocations: 286.8 kB / 415.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006358/0.2795, allocations: 4.188 MB / 419.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/0.2795, allocations: 0 / 419.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.2798, allocations: 124 kB / 420 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.28, allocations: 141.9 kB / 420.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005406/0.2854, allocations: 3.482 MB / 423.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/0.3012, allocations: 10.78 MB / 434.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.3041, allocations: 2.646 MB / 437 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.3065, allocations: 1.493 MB / 438.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.3068, allocations: 134 kB / 438.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3068, allocations: 47.56 kB / 438.7 MB, free: 128 kB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.867e-06/0.3069, allocations: 0 / 438.7 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.009209/0.3161, allocations: 5.286 MB / 444 MB, free: 10.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3161, allocations: 94.42 kB / 444 MB, free: 10.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.3186, allocations: 1.909 MB / 446 MB, free: 8.746 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.202e-05/0.3187, allocations: 53.7 kB / 446 MB, free: 8.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008436/0.3196, allocations: 1.314 MB / 447.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.3199, allocations: 465.3 kB / 447.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/0.3204, allocations: 267.4 kB / 448 MB, free: 6.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.3205, allocations: 309.1 kB / 448.3 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3217, allocations: 0.8159 MB / 449.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.3232, allocations: 1.183 MB / 450.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.326, allocations: 2.091 MB / 452.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.326, allocations: 0 / 452.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003981/0.33, allocations: 2.53 MB / 455 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.33, allocations: 11.91 kB / 455 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.33, allocations: 12 kB / 455 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.3319, allocations: 486.6 kB / 455.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.3332, allocations: 331.5 kB / 455.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005096/0.3383, allocations: 4.407 MB / 460.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.3396, allocations: 83.83 kB / 460.3 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3397, allocations: 63.98 kB / 460.3 MB, free: 9.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00159/0.3413, allocations: 1.048 MB / 461.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.3417, allocations: 189.8 kB / 461.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/0.3451, allocations: 2.137 MB / 463.7 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3452, allocations: 3.984 kB / 463.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3452, allocations: 0 / 463.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/0.346, allocations: 454.8 kB / 464.2 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.3462, allocations: 35.98 kB / 464.2 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009187/0.3471, allocations: 91.84 kB / 464.3 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.3473, allocations: 97.09 kB / 464.4 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003962/0.3513, allocations: 2.282 MB / 466.7 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004062/0.3554, allocations: 3.118 MB / 469.8 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001117/0.3565, allocations: 0.8768 MB / 470.6 MB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.3584, allocations: 1.334 MB / 472 MB, free: 14.14 MB / 398.1 MB Notification: Performance of Backend: time 1.853e-06/0.3584, allocations: 0 / 472 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.3618, allocations: 1.674 MB / 473.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 0.008659/0.3705, allocations: 5.81 MB / 479.5 MB, free: 6.586 MB / 398.1 MB Notification: Performance of Templates: time 0.05324/0.4237, allocations: 33.66 MB / 0.5011 GB, free: 4.863 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches