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.0008023/0.0008054, allocations: 89.98 kB / 17.31 MB, free: 5.59 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.000876/0.000876, allocations: 175.5 kB / 18.21 MB, free: 5.191 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.13/1.13, allocations: 223.3 MB / 242.2 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001968/0.0001968, allocations: 11.94 kB / 302.1 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0712/0.07141, allocations: 50.42 MB / 352.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006499/0.07793, allocations: 7.21 MB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.08184, allocations: 2.594 MB / 362.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.08252, allocations: 63.69 kB / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008662/0.0834, allocations: 489.4 kB / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.08465, allocations: 0.6802 MB / 363.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.08523, allocations: 355.6 kB / 363.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.08795, allocations: 3.674 MB / 367.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.09067, allocations: 2.932 MB / 370.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.0925, allocations: 1.202 MB / 371.7 MB, free: 160 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1247/0.2172, allocations: 1.649 MB / 373.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008368/0.218, allocations: 187.9 kB / 373.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.2194, allocations: 431.6 kB / 373.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.2205, allocations: 0.9073 MB / 374.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002347/0.2229, allocations: 1.618 MB / 376.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.227, allocations: 4.969 MB / 381.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.227, allocations: 0.8438 kB / 381.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.227, allocations: 0 / 381.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.3e-05/0.2271, allocations: 1.062 kB / 381.4 MB, free: 10.37 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.004838/0.232, allocations: 3.186 MB / 384.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.232, allocations: 17.5 kB / 384.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007572/0.2328, allocations: 389.2 kB / 385 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.2351, allocations: 2.085 MB / 387.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.2353, allocations: 226 kB / 387.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/0.2356, allocations: 283.8 kB / 387.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/0.241, allocations: 4.199 MB / 391.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.2411, allocations: 4.844 kB / 391.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.2413, allocations: 120.1 kB / 391.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.2414, allocations: 137.5 kB / 392.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004353/0.2458, allocations: 3.503 MB / 395.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.2584, allocations: 10.99 MB / 406.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.2609, allocations: 2.639 MB / 409.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.263, allocations: 1.476 MB / 410.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.2633, allocations: 129.7 kB / 410.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2633, allocations: 51.5 kB / 410.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.899e-06/0.2633, allocations: 112 / 410.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.007631/0.271, allocations: 5.2 MB / 416 MB, free: 2.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.271, allocations: 94.42 kB / 416.1 MB, free: 2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.2733, allocations: 1.913 MB / 418 MB, free: 84 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.2734, allocations: 45.7 kB / 418.1 MB, free: 32 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/0.2742, allocations: 1.325 MB / 419.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.2746, allocations: 451.8 kB / 419.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2747, allocations: 125.6 kB / 420 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.2748, allocations: 301.1 kB / 420.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.2759, allocations: 0.8198 MB / 421.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.2773, allocations: 1.188 MB / 422.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/0.2798, allocations: 2.096 MB / 424.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.2798, allocations: 4 kB / 424.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003621/0.2834, allocations: 2.545 MB / 426.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2834, allocations: 8 kB / 426.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2835, allocations: 8 kB / 426.9 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.2852, allocations: 484 kB / 427.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.2864, allocations: 347.3 kB / 427.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004448/0.2909, allocations: 4.052 MB / 431.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2919, allocations: 91.98 kB / 431.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.2921, allocations: 59.98 kB / 432 MB, free: 1.879 MB / 334.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.001536/0.2936, allocations: 1.046 MB / 433 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.2939, allocations: 193.7 kB / 433.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.2971, allocations: 2.16 MB / 435.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/0.2971, allocations: 16 kB / 435.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2972, allocations: 4 kB / 435.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2972, allocations: 7.969 kB / 435.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006988/0.3042, allocations: 5.205 MB / 440.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3042, allocations: 7.938 kB / 440.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/0.3051, allocations: 230.5 kB / 440.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/0.3068, allocations: 464.7 kB / 441.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/0.3068, allocations: 31.98 kB / 441.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/0.3111, allocations: 3.964 MB / 445.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3111, allocations: 4.031 kB / 445.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/0.3154, allocations: 3.278 MB / 448.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.3161, allocations: 466.7 kB / 449 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.3163, allocations: 27.94 kB / 449 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009035/0.3172, allocations: 104 kB / 449.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.3174, allocations: 92.88 kB / 449.2 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/0.3175, allocations: 39.98 kB / 449.3 MB, free: 404 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001623/0.3191, allocations: 1.342 MB / 450.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3191, allocations: 0 / 450.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001422/0.3205, allocations: 0.5612 MB / 451.2 MB, free: 14.5 MB / 366.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.0004484/0.321, allocations: 218.1 kB / 451.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.3239, allocations: 2.197 MB / 453.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3239, allocations: 4 kB / 453.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.3256, allocations: 1.212 MB / 454.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.3278, allocations: 497.9 kB / 455.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.336, allocations: 7.07 MB / 462.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.3378, allocations: 2.364 MB / 464.7 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.3383, allocations: 143.4 kB / 464.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3383, allocations: 0 / 464.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of Templates: time 0.05015/0.3884, allocations: 50.51 MB / 0.5033 GB, free: 14.45 MB / 430.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