Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001384/0.001384, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001508/0.001508, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009039/0.0009039, allocations: 39.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2283, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00866/0.237, allocations: 7.777 MB / 409.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.2418, allocations: 2.644 MB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.2429, allocations: 71.69 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.2443, allocations: 0.5793 MB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.2462, allocations: 0.7575 MB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007845/0.247, allocations: 415.4 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.2499, allocations: 3.284 MB / 416.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003541/0.2535, allocations: 3.585 MB / 420.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.2561, allocations: 1.659 MB / 422.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.2585, allocations: 2.036 MB / 424.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005976/0.2591, allocations: 460 kB / 424.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.2603, allocations: 0.6637 MB / 425.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.2613, allocations: 1.247 MB / 426.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.2633, allocations: 1.968 MB / 428.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005135/0.2684, allocations: 6.099 MB / 434.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2684, allocations: 0 / 434.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2685, allocations: 4 kB / 434.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.274e-05/0.2685, allocations: 0 / 434.6 MB, free: 7.492 MB / 350.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.006881/0.2754, allocations: 3.794 MB / 438.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2755, allocations: 8.031 kB / 438.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009347/0.2764, allocations: 392.7 kB / 438.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.2801, allocations: 2.158 MB / 441 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.2803, allocations: 225.8 kB / 441.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.2807, allocations: 284 kB / 441.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/0.2875, allocations: 4.191 MB / 445.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/0.2876, allocations: 4 kB / 445.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.2879, allocations: 124 kB / 445.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.288, allocations: 137.9 kB / 445.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005649/0.2937, allocations: 3.486 MB / 449.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.3108, allocations: 10.76 MB / 460.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.3136, allocations: 2.65 MB / 462.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.3161, allocations: 1.501 MB / 464.3 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.3163, allocations: 122.2 kB / 464.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3163, allocations: 55.5 kB / 464.5 MB, free: 9.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.928e-06/0.3164, allocations: 4 kB / 464.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008671/0.325, allocations: 5.172 MB / 469.7 MB, free: 3.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3251, allocations: 90.42 kB / 469.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.3275, allocations: 1.902 MB / 471.7 MB, free: 1.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.3276, allocations: 53.7 kB / 471.7 MB, free: 1.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000835/0.3285, allocations: 1.314 MB / 473 MB, free: 380 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.3288, allocations: 465.5 kB / 473.5 MB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004209/0.3292, allocations: 279.3 kB / 473.8 MB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.3294, allocations: 305.1 kB / 474.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.3306, allocations: 0.812 MB / 474.9 MB, free: 14.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.332, allocations: 1.186 MB / 476.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.3347, allocations: 2.082 MB / 478.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.3347, allocations: 4 kB / 478.1 MB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003969/0.3387, allocations: 2.519 MB / 480.7 MB, free: 8.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3388, allocations: 18.8 kB / 480.7 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3388, allocations: 12.19 kB / 480.7 MB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.3406, allocations: 475.6 kB / 481.2 MB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.342, allocations: 339.5 kB / 481.5 MB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/0.3472, allocations: 4.391 MB / 485.9 MB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3484, allocations: 91.89 kB / 486 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.3486, allocations: 63.98 kB / 486 MB, free: 2.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.001505/0.3501, allocations: 1.048 MB / 487.1 MB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/0.3504, allocations: 185.8 kB / 487.3 MB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.3539, allocations: 2.145 MB / 489.4 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.354, allocations: 3.984 kB / 489.4 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.354, allocations: 0 / 489.4 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/0.3549, allocations: 454.7 kB / 489.9 MB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.3552, allocations: 31.98 kB / 489.9 MB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/0.3561, allocations: 95.84 kB / 490 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.3564, allocations: 97.14 kB / 490.1 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004088/0.3605, allocations: 2.278 MB / 492.4 MB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004207/0.3647, allocations: 3.11 MB / 495.5 MB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001158/0.3658, allocations: 0.8768 MB / 496.3 MB, free: 8.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001954/0.3678, allocations: 1.334 MB / 497.7 MB, free: 7.199 MB / 414.1 MB Notification: Performance of Backend: time 3.11e-07/0.3678, allocations: 0 / 497.7 MB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.3712, allocations: 1.673 MB / 499.3 MB, free: 5.516 MB / 414.1 MB Notification: Performance of SimCode: time 0.008805/0.3801, allocations: 5.816 MB / 0.4933 GB, free: 15.64 MB / 430.1 MB Notification: Performance of Templates: time 0.05296/0.433, allocations: 33.2 MB / 0.5257 GB, free: 14.77 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches