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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 84.94 kB / 22 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 153.4 kB / 25.24 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 158.6 MB / 187 MB, free: 6.27 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 51.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2218, allocations: 49.15 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008914/0.2307, allocations: 6.832 MB / 355.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.2361, allocations: 2.626 MB / 358 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008887/0.237, allocations: 79.31 kB / 358.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.2385, allocations: 0.5821 MB / 358.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.2408, allocations: 0.7692 MB / 359.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000981/0.2418, allocations: 443.4 kB / 359.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003918/0.2457, allocations: 3.409 MB / 363.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.2482, allocations: 1.849 MB / 365.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.2511, allocations: 1.698 MB / 366.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.2542, allocations: 2.016 MB / 368.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006873/0.2549, allocations: 460 kB / 369.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.2562, allocations: 0.648 MB / 369.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.2574, allocations: 1.266 MB / 371.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.2594, allocations: 1.58 MB / 372.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.2658, allocations: 6.13 MB / 378.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2658, allocations: 4 kB / 378.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2658, allocations: 0 / 378.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001177/0.2659, allocations: 0 / 378.9 MB, free: 0.9727 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.008392/0.2743, allocations: 3.793 MB / 382.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2744, allocations: 8.031 kB / 382.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.2754, allocations: 410.6 kB / 383.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/0.2789, allocations: 1.908 MB / 385 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.2791, allocations: 225.8 kB / 385.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/0.2795, allocations: 288 kB / 385.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007118/0.2867, allocations: 4.442 MB / 390 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.413e-05/0.2867, allocations: 0 / 390 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.287, allocations: 116 kB / 390.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/0.2872, allocations: 141.9 kB / 390.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005877/0.2931, allocations: 3.482 MB / 393.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.3109, allocations: 9.27 MB / 403 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.3135, allocations: 1.637 MB / 404.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.3161, allocations: 1.407 MB / 406 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.3163, allocations: 52.91 kB / 406.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.3163, allocations: 47.56 kB / 406.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.637e-06/0.3163, allocations: 0 / 406.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009896/0.3262, allocations: 5.144 MB / 411.2 MB, free: 200 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.3263, allocations: 90.42 kB / 411.3 MB, free: 92 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.3289, allocations: 1.721 MB / 413.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.329, allocations: 49.7 kB / 413.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.3301, allocations: 1.36 MB / 414.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/0.3305, allocations: 491.8 kB / 414.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.331, allocations: 271.4 kB / 415.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3311, allocations: 305.1 kB / 415.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.3325, allocations: 0.8276 MB / 416.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.3342, allocations: 1.201 MB / 417.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.3373, allocations: 2.099 MB / 419.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.3373, allocations: 0 / 419.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004709/0.3421, allocations: 2.504 MB / 422.1 MB, free: 4.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.3421, allocations: 8 kB / 422.1 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.3421, allocations: 12 kB / 422.2 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.344, allocations: 482.4 kB / 422.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.3454, allocations: 331.5 kB / 422.9 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005785/0.3511, allocations: 4.219 MB / 427.2 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.3525, allocations: 91.88 kB / 427.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.3526, allocations: 60 kB / 427.3 MB, free: 15.65 MB / 398.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.001695/0.3543, allocations: 1.055 MB / 428.4 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/0.3548, allocations: 182.9 kB / 428.5 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.3585, allocations: 2.12 MB / 430.7 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.3585, allocations: 16 kB / 430.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3585, allocations: 4 kB / 430.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.3586, allocations: 7.969 kB / 430.7 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008122/0.3667, allocations: 4.479 MB / 435.2 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3667, allocations: 4 kB / 435.2 MB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.3677, allocations: 227.9 kB / 435.4 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.3695, allocations: 457 kB / 435.8 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/0.3696, allocations: 35.98 kB / 435.9 MB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.3751, allocations: 4.102 MB / 440 MB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3751, allocations: 4.062 kB / 440 MB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.3805, allocations: 3.236 MB / 443.2 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.3816, allocations: 370.7 kB / 443.6 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.3818, allocations: 28 kB / 443.6 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3828, allocations: 99.95 kB / 443.7 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.383, allocations: 100.6 kB / 443.8 MB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.3831, allocations: 43.98 kB / 443.9 MB, free: 14.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001771/0.3849, allocations: 1.185 MB / 445 MB, free: 13.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3849, allocations: 0 / 445 MB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001741/0.3866, allocations: 0.5546 MB / 445.6 MB, free: 13.12 MB / 414.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.0005548/0.3872, allocations: 226.7 kB / 445.8 MB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.3909, allocations: 2.122 MB / 447.9 MB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.3909, allocations: 4 kB / 447.9 MB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.3929, allocations: 1.172 MB / 449.1 MB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.3949, allocations: 408.7 kB / 449.5 MB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009934/0.4048, allocations: 5.823 MB / 455.3 MB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/0.4071, allocations: 1.868 MB / 457.2 MB, free: 1.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001675/0.4088, allocations: 469.8 kB / 457.7 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.4092, allocations: 120.5 kB / 457.8 MB, free: 0.7852 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4092, allocations: 0 / 457.8 MB, free: 0.7852 MB / 414.1 MB Notification: Performance of Templates: time 0.223/0.6322, allocations: 27.72 MB / 485.5 MB, free: 103.2 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.587444807053544]