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.001452/0.001452, allocations: 107.9 kB / 18.4 MB, free: 4.68 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.001568/0.001568, allocations: 186.4 kB / 19.33 MB, free: 3.758 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.351/1.351, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001191/0.001191, allocations: 52.34 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07594/0.07714, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1605/0.2376, allocations: 7.708 MB / 383.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.2421, allocations: 2.726 MB / 386.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.2432, allocations: 61.41 kB / 386.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.2445, allocations: 0.5577 MB / 386.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.2465, allocations: 0.7413 MB / 387.6 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2475, allocations: 436 kB / 388 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.2509, allocations: 3.408 MB / 391.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003397/0.2543, allocations: 3.437 MB / 394.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.2574, allocations: 1.662 MB / 396.6 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.2605, allocations: 2.022 MB / 398.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008715/0.2614, allocations: 462.6 kB / 399 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.2629, allocations: 0.6652 MB / 399.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.2641, allocations: 1.248 MB / 400.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002559/0.2666, allocations: 1.961 MB / 402.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006945/0.2736, allocations: 6.106 MB / 409 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.2737, allocations: 0 / 409 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2737, allocations: 0 / 409 MB, free: 12.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001863/0.2739, allocations: 1.406 kB / 409 MB, free: 12.03 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.009399/0.2833, allocations: 3.773 MB / 412.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2833, allocations: 9.125 kB / 412.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.2846, allocations: 390.2 kB / 413.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.2886, allocations: 1.968 MB / 415.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.2888, allocations: 224.4 kB / 415.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005916/0.2894, allocations: 283.9 kB / 415.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008129/0.2976, allocations: 4.191 MB / 419.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.2977, allocations: 1.125 kB / 419.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/0.298, allocations: 116 kB / 419.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.2982, allocations: 141.9 kB / 420.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006219/0.3044, allocations: 3.487 MB / 423.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.3236, allocations: 10.77 MB / 434.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.3264, allocations: 2.646 MB / 437 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.329, allocations: 1.497 MB / 438.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.3293, allocations: 126.1 kB / 438.6 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.3294, allocations: 51.5 kB / 438.7 MB, free: 76 kB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 5.731e-06/0.3294, allocations: 0 / 438.7 MB, free: 76 kB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.009986/0.3394, allocations: 5.282 MB / 443.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3395, allocations: 94.36 kB / 444 MB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/0.3427, allocations: 1.921 MB / 445.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.3428, allocations: 45.7 kB / 446 MB, free: 8.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000871/0.3437, allocations: 1.314 MB / 447.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.3441, allocations: 465.3 kB / 447.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004574/0.3446, allocations: 271.3 kB / 448 MB, free: 6.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.3447, allocations: 305.1 kB / 448.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.3459, allocations: 0.8198 MB / 449.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.3474, allocations: 1.183 MB / 450.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/0.3501, allocations: 2.087 MB / 452.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.3502, allocations: 8 kB / 452.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004283/0.3545, allocations: 2.527 MB / 455 MB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.3545, allocations: 15.91 kB / 455 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.3545, allocations: 8 kB / 455 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/0.3564, allocations: 486.6 kB / 455.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.3577, allocations: 331.5 kB / 455.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.363, allocations: 4.403 MB / 460.2 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.3646, allocations: 87.83 kB / 460.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.3648, allocations: 68.05 kB / 460.3 MB, free: 9.816 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.001698/0.3665, allocations: 1.048 MB / 461.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005567/0.367, allocations: 185.8 kB / 461.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.3707, allocations: 2.137 MB / 463.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.3707, allocations: 24 kB / 463.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3708, allocations: 8 kB / 463.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3708, allocations: 7.969 kB / 463.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009378/0.3802, allocations: 5.174 MB / 468.9 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.3802, allocations: 0 / 468.9 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.3812, allocations: 231.6 kB / 469.1 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.383, allocations: 468.7 kB / 469.6 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.3831, allocations: 31.98 kB / 469.6 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/0.3883, allocations: 4.303 MB / 473.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3883, allocations: 0 / 473.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.3937, allocations: 3.248 MB / 477.2 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.395, allocations: 458.7 kB / 477.6 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005116/0.3955, allocations: 31.98 kB / 477.7 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.3968, allocations: 99.94 kB / 477.7 MB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.3971, allocations: 96.67 kB / 477.8 MB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.3972, allocations: 43.98 kB / 477.9 MB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002343/0.3996, allocations: 1.346 MB / 479.2 MB, free: 6.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3996, allocations: 0 / 479.2 MB, free: 6.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002229/0.4018, allocations: 0.5469 MB / 479.8 MB, free: 6.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * 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 Backend phase and start with SimCode phase: time 0.0006078/0.4024, allocations: 224.9 kB / 480 MB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003581/0.406, allocations: 2.192 MB / 482.2 MB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4061, allocations: 3.938 kB / 482.2 MB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.4081, allocations: 1.218 MB / 483.4 MB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/0.4111, allocations: 0.5107 MB / 483.9 MB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.4216, allocations: 5.714 MB / 489.6 MB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/0.424, allocations: 2.366 MB / 492 MB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/0.4248, allocations: 135.4 kB / 492.1 MB, free: 9.547 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4248, allocations: 3.938 kB / 492.1 MB, free: 9.543 MB / 414.1 MB Notification: Performance of Templates: time 0.0656/0.4904, allocations: 51.54 MB / 0.5309 GB, free: 5.883 MB / 462.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