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.001293/0.001293, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.00138/0.00138, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.4/1.4, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001646/0.001646, allocations: 47.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03237/0.2691, allocations: 28.77 MB / 452.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01497/0.2841, allocations: 7.161 MB / 459.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005506/0.2896, allocations: 314.4 kB / 460.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03035/0.3199, allocations: 13.23 MB / 473.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.3302, allocations: 2.804 MB / 476.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006286/0.3364, allocations: 1.905 MB / 478.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02365/0.3601, allocations: 18.37 MB / 496.4 MB, free: 5.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05975/0.4198, allocations: 28.4 MB / 0.5125 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01685/0.4367, allocations: 10.16 MB / 0.5225 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01849/0.4552, allocations: 11.14 MB / 0.5333 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007336/0.4625, allocations: 2.918 MB / 0.5362 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4388/0.9013, allocations: 3.168 MB / 0.5393 GB, free: 41.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008651/0.9099, allocations: 5.492 MB / 0.5446 GB, free: 41.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02174/0.9317, allocations: 10.82 MB / 0.5552 GB, free: 40.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0433/0.975, allocations: 39.09 MB / 0.5934 GB, free: 19.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.975, allocations: 0 / 0.5934 GB, free: 19.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.975, allocations: 0.8125 kB / 0.5934 GB, free: 19.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001362/0.9763, allocations: 0 / 0.5934 GB, free: 19.66 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.0704/1.047, allocations: 22.23 MB / 0.6151 GB, free: 4.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.047, allocations: 8.031 kB / 0.6151 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04765/1.094, allocations: 8.414 MB / 0.6233 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03098/1.125, allocations: 11.86 MB / 0.6349 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00158/1.127, allocations: 1.347 MB / 0.6362 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006595/1.134, allocations: 1.759 MB / 0.6379 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07506/1.209, allocations: 28.71 MB / 0.666 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006508/1.209, allocations: 11.95 kB / 0.666 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005352/1.215, allocations: 0.7351 MB / 0.6667 GB, free: 15.99 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000925/1.216, allocations: 0.8423 MB / 0.6675 GB, free: 15.15 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05598/1.272, allocations: 24.78 MB / 0.6917 GB, free: 6.344 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3881/1.66, allocations: 85.96 MB / 0.7757 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01914/1.679, allocations: 12.83 MB / 0.7882 GB, free: 140.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007806/1.687, allocations: 5.028 MB / 0.7931 GB, free: 140 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/1.687, allocations: 125.7 kB / 0.7932 GB, free: 140 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.995e-05/1.687, allocations: 95.45 kB / 0.7933 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.908e-06/1.687, allocations: 0 / 0.7933 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03138/1.719, allocations: 14.65 MB / 0.8076 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.719, allocations: 142.8 kB / 0.8078 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009641/1.728, allocations: 6.434 MB / 0.814 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009092/1.729, allocations: 115.4 kB / 0.8142 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004044/1.733, allocations: 7.894 MB / 0.8219 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.735, allocations: 2.111 MB / 0.8239 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003275/1.739, allocations: 2.097 MB / 0.826 GB, free: 125.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.616e-05/1.739, allocations: 301.1 kB / 0.8263 GB, free: 125.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005969/1.745, allocations: 4.741 MB / 0.8309 GB, free: 122.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008553/1.753, allocations: 9.469 MB / 0.8401 GB, free: 113.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01508/1.768, allocations: 15.3 MB / 0.8551 GB, free: 97.61 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.769, allocations: 44 kB / 0.8551 GB, free: 97.57 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02396/1.792, allocations: 15.37 MB / 0.8701 GB, free: 82.12 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/1.793, allocations: 80.06 kB / 0.8702 GB, free: 82.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002895/1.793, allocations: 160 kB / 0.8704 GB, free: 81.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005605/1.799, allocations: 1.66 MB / 0.872 GB, free: 80.21 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008126/1.807, allocations: 2.347 MB / 0.8743 GB, free: 77.86 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.821, allocations: 11.51 MB / 0.8855 GB, free: 66.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008177/1.829, allocations: 1.381 MB / 0.8869 GB, free: 64.86 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/1.831, allocations: 0.5312 MB / 0.8874 GB, free: 64.33 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.01222/1.843, allocations: 7.141 MB / 0.8944 GB, free: 57.17 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/1.845, allocations: 0.6442 MB / 0.895 GB, free: 56.52 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.862, allocations: 10.08 MB / 0.9048 GB, free: 46.33 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01111/1.873, allocations: 7.734 MB / 0.9124 GB, free: 38.52 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/1.873, allocations: 15.94 kB / 0.9124 GB, free: 38.5 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.503e-05/1.873, allocations: 27.89 kB / 0.9124 GB, free: 38.47 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04859/1.922, allocations: 25.3 MB / 0.9371 GB, free: 13.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/1.922, allocations: 8 kB / 0.9371 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003862/1.926, allocations: 1.006 MB / 0.9381 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004851/1.93, allocations: 1.466 MB / 0.9396 GB, free: 10.55 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006602/1.931, allocations: 124 kB / 0.9397 GB, free: 10.43 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.944, allocations: 11.05 MB / 0.9505 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/1.944, allocations: 19.88 kB / 0.9505 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02466/1.968, allocations: 14.1 MB / 0.9643 GB, free: 0.8008 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2329/2.201, allocations: 1.434 MB / 0.9657 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/2.203, allocations: 111.8 kB / 0.9658 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/2.207, allocations: 321.3 kB / 0.9661 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/2.208, allocations: 420.3 kB / 0.9665 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003743/2.208, allocations: 168.7 kB / 0.9666 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007754/2.216, allocations: 4.307 MB / 0.9708 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.31e-07/2.216, allocations: 0 / 0.9708 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01274/2.229, allocations: 4.09 MB / 0.9748 GB, free: 178.9 MB / 0.5763 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.00187/2.231, allocations: 318.4 kB / 0.9751 GB, free: 178.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02599/2.257, allocations: 10.93 MB / 0.9858 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/2.257, allocations: 8.469 kB / 0.9858 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/2.268, allocations: 4.331 MB / 0.99 GB, free: 174.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01272/2.281, allocations: 1.565 MB / 0.9916 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06336/2.344, allocations: 29.39 MB / 1.02 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0166/2.361, allocations: 10.9 MB / 1.031 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/2.363, allocations: 0.5761 MB / 1.031 GB, free: 150.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.042e-06/2.363, allocations: 0 / 1.031 GB, free: 150.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.5337/2.897, allocations: 283.3 MB / 1.308 GB, free: 78.83 MB / 0.5763 GB " [Timeout remaining time 657] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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: 21.572580623906106]