Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002066/0.002066, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.5 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2461, allocations: 53.41 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0314/0.2775, allocations: 24.5 MB / 456.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0168/0.2943, allocations: 7.027 MB / 463.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006193/0.3005, allocations: 310.4 kB / 464.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03016/0.3307, allocations: 12.21 MB / 476.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.341, allocations: 2.59 MB / 479 MB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006641/0.3476, allocations: 2.04 MB / 481.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02474/0.3723, allocations: 18.54 MB / 499.6 MB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05666/0.429, allocations: 28.11 MB / 0.5154 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01644/0.4454, allocations: 10.15 MB / 0.5253 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01831/0.4637, allocations: 10.83 MB / 0.5358 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3987/0.8625, allocations: 2.923 MB / 0.5387 GB, free: 39.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.873, allocations: 3.179 MB / 0.5418 GB, free: 39.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008234/0.8812, allocations: 5.489 MB / 0.5472 GB, free: 39.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01845/0.8997, allocations: 8.372 MB / 0.5553 GB, free: 39.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03781/0.9375, allocations: 39.28 MB / 0.5937 GB, free: 20.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9375, allocations: 0 / 0.5937 GB, free: 20.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.9375, allocations: 0.8125 kB / 0.5937 GB, free: 20.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001163/0.9386, allocations: 0 / 0.5937 GB, free: 20.07 MB / 446.1 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.06125/0.9999, allocations: 22.24 MB / 0.6154 GB, free: 2.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9999, allocations: 11.98 kB / 0.6154 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04477/1.045, allocations: 8.248 MB / 0.6235 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02964/1.074, allocations: 11.89 MB / 0.6351 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/1.076, allocations: 1.34 MB / 0.6364 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006784/1.083, allocations: 1.758 MB / 0.6381 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07815/1.161, allocations: 29.02 MB / 0.6665 GB, free: 14.96 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009508/1.162, allocations: 23.84 kB / 0.6665 GB, free: 14.94 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006401/1.168, allocations: 0.731 MB / 0.6672 GB, free: 14.22 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/1.169, allocations: 0.8415 MB / 0.668 GB, free: 13.38 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06351/1.233, allocations: 24.76 MB / 0.6922 GB, free: 4.594 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4032/1.636, allocations: 76.09 MB / 0.7665 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/1.654, allocations: 12.79 MB / 0.779 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007934/1.662, allocations: 5.038 MB / 0.7839 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/1.663, allocations: 139 kB / 0.784 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.147e-05/1.663, allocations: 105 kB / 0.7841 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.268e-06/1.663, allocations: 4 kB / 0.7841 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03269/1.696, allocations: 14.66 MB / 0.7985 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/1.696, allocations: 136.8 kB / 0.7986 GB, free: 138.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009351/1.705, allocations: 6.492 MB / 0.8049 GB, free: 136.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.706, allocations: 118.3 kB / 0.805 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004384/1.711, allocations: 7.899 MB / 0.8128 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/1.713, allocations: 2.107 MB / 0.8148 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00373/1.717, allocations: 2.117 MB / 0.8169 GB, free: 127.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/1.717, allocations: 308.5 kB / 0.8172 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006399/1.723, allocations: 4.744 MB / 0.8218 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/1.733, allocations: 9.499 MB / 0.8311 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/1.751, allocations: 15.32 MB / 0.846 GB, free: 97.98 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/1.751, allocations: 52 kB / 0.8461 GB, free: 97.93 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02734/1.778, allocations: 15.39 MB / 0.8611 GB, free: 82.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/1.779, allocations: 72 kB / 0.8612 GB, free: 82.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002716/1.779, allocations: 160 kB / 0.8613 GB, free: 82.23 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005102/1.784, allocations: 1.669 MB / 0.863 GB, free: 80.55 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008262/1.792, allocations: 2.351 MB / 0.8653 GB, free: 78.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/1.806, allocations: 11.25 MB / 0.8763 GB, free: 66.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00862/1.815, allocations: 1.362 MB / 0.8776 GB, free: 65.48 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/1.817, allocations: 0.5312 MB / 0.8781 GB, free: 64.95 MB / 0.5607 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.01276/1.83, allocations: 7.141 MB / 0.8851 GB, free: 57.79 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.831, allocations: 0.6287 MB / 0.8857 GB, free: 57.16 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/1.849, allocations: 10.08 MB / 0.8955 GB, free: 46.96 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01227/1.862, allocations: 7.769 MB / 0.9031 GB, free: 39.11 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/1.862, allocations: 12 kB / 0.9031 GB, free: 39.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.827e-05/1.862, allocations: 27.89 kB / 0.9032 GB, free: 39.07 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04313/1.905, allocations: 21.77 MB / 0.9244 GB, free: 17.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/1.905, allocations: 8 kB / 0.9244 GB, free: 17.18 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004151/1.909, allocations: 1.019 MB / 0.9254 GB, free: 16.16 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004701/1.914, allocations: 1.458 MB / 0.9269 GB, free: 14.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009705/1.915, allocations: 132 kB / 0.927 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/1.927, allocations: 10.81 MB / 0.9375 GB, free: 3.664 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.927, allocations: 15.94 kB / 0.9376 GB, free: 3.648 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.951, allocations: 14.11 MB / 0.9513 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004675/1.955, allocations: 1.424 MB / 0.9527 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/1.957, allocations: 112 kB / 0.9528 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003953/1.961, allocations: 311.6 kB / 0.9531 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/1.962, allocations: 432.1 kB / 0.9535 GB, free: 2.918 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007336/1.963, allocations: 172 kB / 0.9537 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00909/1.972, allocations: 4.156 MB / 0.9578 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/1.972, allocations: 4 kB / 0.9578 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0145/1.987, allocations: 4.106 MB / 0.9618 GB, free: 10.5 MB / 0.5919 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.001646/1.988, allocations: 322.9 kB / 0.9621 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2619/2.25, allocations: 10.94 MB / 0.9728 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/2.25, allocations: 2.344 kB / 0.9728 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007901/2.258, allocations: 4.343 MB / 0.977 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007393/2.266, allocations: 1.459 MB / 0.9784 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05169/2.317, allocations: 29.18 MB / 1.007 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01863/2.336, allocations: 10.58 MB / 1.017 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002812/2.339, allocations: 0.6126 MB / 1.018 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/2.339, allocations: 0 / 1.018 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.5497/2.888, allocations: 289.5 MB / 1.301 GB, free: 106.3 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 22.041377963963896]