Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.000866/0.000866, 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.00406/0.00406, allocations: 149.4 kB / 24.69 MB, free: 9.434 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.8342/0.8342, allocations: 173.4 MB / 201.2 MB, free: 9.41 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.426e-05, allocations: 2.281 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0239/0.02393, allocations: 24.51 MB / 344.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.03655, allocations: 6.961 MB / 351.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004346/0.0409, allocations: 318.4 kB / 351.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.05337, allocations: 12.92 MB / 364.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007087/0.06046, allocations: 2.828 MB / 367.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.06378, allocations: 1.856 MB / 369.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01441/0.07819, allocations: 18.91 MB / 388 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03196/0.1102, allocations: 28.18 MB / 416.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01543/0.1256, allocations: 15.1 MB / 431.3 MB, free: 5.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.1365, allocations: 9.758 MB / 441 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005153/0.1417, allocations: 2.918 MB / 444 MB, free: 9.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005984/0.1477, allocations: 3.167 MB / 447.1 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003541/0.1512, allocations: 5.58 MB / 452.7 MB, free: 300 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3027/0.4539, allocations: 7.234 MB / 459.9 MB, free: 52.98 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02637/0.4803, allocations: 39.5 MB / 499.4 MB, free: 38.66 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4803, allocations: 0 / 499.4 MB, free: 38.66 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4803, allocations: 0 / 499.4 MB, free: 38.66 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001104/0.4814, allocations: 0.7656 kB / 499.4 MB, free: 38.66 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.04343/0.5249, allocations: 22.06 MB / 0.5093 GB, free: 24.99 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5249, allocations: 8.25 kB / 0.5093 GB, free: 24.99 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02153/0.5464, allocations: 8.415 MB / 0.5175 GB, free: 17.15 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01845/0.5649, allocations: 11.86 MB / 0.5291 GB, free: 5.789 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006185/0.5655, allocations: 1.346 MB / 0.5304 GB, free: 4.453 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00466/0.5702, allocations: 1.757 MB / 0.5321 GB, free: 2.707 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04799/0.6182, allocations: 28.97 MB / 0.5604 GB, free: 5.633 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/0.6185, allocations: 19.59 kB / 0.5604 GB, free: 5.617 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002438/0.6209, allocations: 0.7254 MB / 0.5611 GB, free: 4.902 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004898/0.6214, allocations: 0.8454 MB / 0.562 GB, free: 4.055 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03838/0.6598, allocations: 24.71 MB / 0.5861 GB, free: 11.33 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2514/0.9112, allocations: 76.11 MB / 0.6604 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.9221, allocations: 12.75 MB / 0.6729 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004242/0.9263, allocations: 5.023 MB / 0.6778 GB, free: 125.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.9266, allocations: 110.2 kB / 0.6779 GB, free: 125.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.9266, allocations: 93.52 kB / 0.678 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 6.612e-06/0.9266, allocations: 0 / 0.678 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.01731/0.944, allocations: 14.63 MB / 0.6923 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.944, allocations: 138.5 kB / 0.6924 GB, free: 122.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005615/0.9496, allocations: 6.491 MB / 0.6987 GB, free: 118.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002208/0.9498, allocations: 118.5 kB / 0.6988 GB, free: 118.6 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.9519, allocations: 7.872 MB / 0.7065 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008657/0.9527, allocations: 2.08 MB / 0.7086 GB, free: 110 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00177/0.9545, allocations: 2.073 MB / 0.7106 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.649e-05/0.9545, allocations: 301.1 kB / 0.7109 GB, free: 108.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/0.9582, allocations: 4.74 MB / 0.7155 GB, free: 103.4 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/0.9629, allocations: 9.491 MB / 0.7248 GB, free: 91.72 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009688/0.9726, allocations: 15.3 MB / 0.7397 GB, free: 74.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.9727, allocations: 44 kB / 0.7398 GB, free: 74.15 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01321/0.9859, allocations: 15.36 MB / 0.7548 GB, free: 58.71 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.986, allocations: 72 kB / 0.7548 GB, free: 58.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.9861, allocations: 161 kB / 0.755 GB, free: 58.48 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.9887, allocations: 1.662 MB / 0.7566 GB, free: 56.81 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/0.9922, allocations: 2.344 MB / 0.7589 GB, free: 54.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008027/1, allocations: 11.25 MB / 0.7699 GB, free: 43.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/1.005, allocations: 1.366 MB / 0.7712 GB, free: 41.75 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004823/1.005, allocations: 0.5284 MB / 0.7717 GB, free: 41.22 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007783/1.013, allocations: 7.141 MB / 0.7787 GB, free: 34.06 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/1.013, allocations: 0.6286 MB / 0.7793 GB, free: 33.43 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008191/1.022, allocations: 10.07 MB / 0.7891 GB, free: 23.24 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00596/1.028, allocations: 7.726 MB / 0.7967 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.028, allocations: 12 kB / 0.7967 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/1.028, allocations: 39.39 kB / 0.7967 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/1.052, allocations: 21.72 MB / 0.818 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.052, allocations: 8 kB / 0.818 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.054, allocations: 1.007 MB / 0.8189 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002645/1.057, allocations: 1.457 MB / 0.8204 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/1.057, allocations: 124 kB / 0.8205 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1667/1.224, allocations: 10.79 MB / 0.831 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.224, allocations: 19.48 kB / 0.831 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.237, allocations: 14.06 MB / 0.8448 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/1.238, allocations: 1.416 MB / 0.8462 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/1.239, allocations: 112.9 kB / 0.8463 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.24, allocations: 316.2 kB / 0.8466 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/1.24, allocations: 424.2 kB / 0.847 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/1.241, allocations: 164.6 kB / 0.8471 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003527/1.244, allocations: 4.163 MB / 0.8512 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/1.244, allocations: 0 / 0.8512 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006055/1.25, allocations: 4.103 MB / 0.8552 GB, free: 155.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000564/1.251, allocations: 337.9 kB / 0.8555 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008519/1.259, allocations: 10.92 MB / 0.8662 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.259, allocations: 0 / 0.8662 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003125/1.262, allocations: 4.336 MB / 0.8704 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.266, allocations: 1.458 MB / 0.8719 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.291, allocations: 29.27 MB / 0.9004 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005896/1.297, allocations: 10.58 MB / 0.9108 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.298, allocations: 0.5655 MB / 0.9113 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/1.298, allocations: 0 / 0.9113 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.3429/1.641, allocations: 286.7 MB / 1.191 GB, free: 17.34 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 15.902848068624735]