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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008075/0.0008075, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004014/0.004014, allocations: 143.6 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8496/0.8496, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 319.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.222e-05, allocations: 2.281 kB / 319.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005495/0.005517, allocations: 6.888 MB / 326.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.008972, allocations: 2.547 MB / 329.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/0.009755, allocations: 91.31 kB / 329.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.01088, allocations: 0.5897 MB / 329.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.01274, allocations: 0.784 MB / 330.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.01342, allocations: 431.2 kB / 331 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.01582, allocations: 3.396 MB / 334.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.01753, allocations: 1.949 MB / 336.4 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.0208, allocations: 2.471 MB / 338.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.0228, allocations: 1.828 MB / 340.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004962/0.0233, allocations: 460 kB / 341.1 MB, free: 152 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.02427, allocations: 0.6557 MB / 341.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008188/0.02509, allocations: 1.286 MB / 343.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.0267, allocations: 1.36 MB / 344.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004472/0.03117, allocations: 6.194 MB / 350.6 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.03118, allocations: 4 kB / 350.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.03118, allocations: 0 / 350.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.03129, allocations: 4 kB / 350.6 MB, free: 6.621 MB / 314.7 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.005259/0.03655, allocations: 3.766 MB / 354.4 MB, free: 2.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.03659, allocations: 8.922 kB / 354.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000634/0.03722, allocations: 410.6 kB / 354.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.03961, allocations: 2.099 MB / 356.9 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.03972, allocations: 230.1 kB / 357.1 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.04, allocations: 284.4 kB / 357.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/0.04467, allocations: 4.442 MB / 361.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.04471, allocations: 3.984 kB / 361.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.04489, allocations: 128 kB / 362 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.04499, allocations: 141.9 kB / 362.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.04851, allocations: 3.49 MB / 365.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.05867, allocations: 9.235 MB / 374.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.06019, allocations: 1.648 MB / 376.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.06157, allocations: 1.407 MB / 377.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.06172, allocations: 44.95 kB / 377.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.06175, allocations: 55.5 kB / 378 MB, free: 10.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.016e-06/0.06175, allocations: 3.938 kB / 378 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.005672/0.06743, allocations: 5.105 MB / 383.1 MB, free: 5.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.06747, allocations: 98.41 kB / 383.2 MB, free: 5.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.06894, allocations: 1.717 MB / 384.9 MB, free: 3.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.069, allocations: 49.7 kB / 384.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/0.06957, allocations: 1.36 MB / 386.3 MB, free: 2.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.06979, allocations: 472 kB / 386.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.07005, allocations: 275.4 kB / 387 MB, free: 1.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/0.07036, allocations: 305.1 kB / 387.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000749/0.07111, allocations: 0.812 MB / 388.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009142/0.07202, allocations: 1.208 MB / 389.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.07371, allocations: 2.078 MB / 391.4 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.07371, allocations: 4 kB / 391.4 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002459/0.07617, allocations: 2.512 MB / 394 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.07619, allocations: 14.34 kB / 394 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.07621, allocations: 8 kB / 394 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.07738, allocations: 475.1 kB / 394.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.07804, allocations: 339.5 kB / 394.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.08127, allocations: 4.196 MB / 399 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.08194, allocations: 95.94 kB / 399.1 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.08202, allocations: 52 kB / 399.1 MB, free: 5.223 MB / 362.7 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.001241/0.08326, allocations: 1.055 MB / 400.2 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.0835, allocations: 186.8 kB / 400.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.08582, allocations: 2.12 MB / 402.5 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.08584, allocations: 16 kB / 402.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.08585, allocations: 8 kB / 402.5 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.08586, allocations: 7.969 kB / 402.5 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/0.09049, allocations: 4.468 MB / 407 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.0905, allocations: 4 kB / 407 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.09099, allocations: 235.8 kB / 407.2 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/0.09183, allocations: 448.3 kB / 407.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.09189, allocations: 39.92 kB / 407.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.09515, allocations: 4.11 MB / 411.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.09516, allocations: 4.031 kB / 411.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.0982, allocations: 3.232 MB / 415 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.09879, allocations: 374.7 kB / 415.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.09892, allocations: 31.92 kB / 415.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.09942, allocations: 95.97 kB / 415.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.09958, allocations: 100.7 kB / 415.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.09964, allocations: 40 kB / 415.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00144/0.1011, allocations: 1.185 MB / 416.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1011, allocations: 0 / 416.8 MB, free: 3.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001323/0.1024, allocations: 0.5546 MB / 417.4 MB, free: 2.691 MB / 378.7 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.0004782/0.1029, allocations: 236.5 kB / 417.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.1051, allocations: 2.126 MB / 419.7 MB, free: 332 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1051, allocations: 0 / 419.7 MB, free: 332 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.1063, allocations: 1.148 MB / 420.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.1073, allocations: 412.7 kB / 421.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/0.1139, allocations: 5.702 MB / 427 MB, free: 8.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.1152, allocations: 1.81 MB / 428.8 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.1156, allocations: 136.5 kB / 428.9 MB, free: 7.012 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1156, allocations: 0 / 428.9 MB, free: 7.012 MB / 394.7 MB Notification: Performance of Templates: time 0.157/0.2726, allocations: 50.66 MB / 479.6 MB, free: 98.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.76596252527088]