Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.00102/0.00102, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001762/0.001762, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.493e-05, allocations: 2.312 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1629/0.163, allocations: 27.67 MB / 300.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.1781, allocations: 7.183 MB / 307.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006966/0.185, allocations: 315.2 kB / 308.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01461/0.1996, allocations: 14.06 MB / 322.2 MB, free: 492 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007943/0.2076, allocations: 2.689 MB / 324.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.2111, allocations: 2.068 MB / 327 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.2249, allocations: 19.11 MB / 346.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03208/0.257, allocations: 28.21 MB / 374.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01876/0.2757, allocations: 15.26 MB / 389.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01471/0.2904, allocations: 10.98 MB / 400.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00735/0.2978, allocations: 2.918 MB / 403.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009516/0.3073, allocations: 3.202 MB / 406.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00774/0.315, allocations: 5.685 MB / 412.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01525/0.3303, allocations: 7.33 MB / 419.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2754/0.6057, allocations: 18.34 MB / 438 MB, free: 67.27 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6057, allocations: 0.875 kB / 438 MB, free: 67.27 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6057, allocations: 0 / 438 MB, free: 67.27 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0008351/0.6065, allocations: 0 / 438 MB, free: 67.27 MB / 378.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.04669/0.6532, allocations: 23.91 MB / 461.9 MB, free: 61.77 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6532, allocations: 9.719 kB / 461.9 MB, free: 61.77 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02839/0.6816, allocations: 10.68 MB / 472.6 MB, free: 59.69 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02154/0.7032, allocations: 11.12 MB / 483.7 MB, free: 52.72 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001136/0.7043, allocations: 1.346 MB / 485 MB, free: 52.11 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007088/0.7114, allocations: 1.759 MB / 486.8 MB, free: 50.71 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/0.7549, allocations: 15.28 MB / 0.4903 GB, free: 35.32 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003277/0.7552, allocations: 18.89 kB / 0.4903 GB, free: 35.31 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002226/0.7574, allocations: 0.7309 MB / 0.4911 GB, free: 34.59 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000455/0.7579, allocations: 0.8454 MB / 0.4919 GB, free: 33.74 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0236/0.7815, allocations: 7.282 MB / 0.499 GB, free: 26.45 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/0.8819, allocations: 71.44 MB / 0.5688 GB, free: 2.82 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.8932, allocations: 10.28 MB / 0.5788 GB, free: 10.58 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/0.8969, allocations: 2.594 MB / 0.5813 GB, free: 7.98 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.8974, allocations: 180.4 kB / 0.5815 GB, free: 7.801 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/0.8975, allocations: 101.6 kB / 0.5816 GB, free: 7.691 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 8.346e-06/0.8975, allocations: 6.828 kB / 0.5816 GB, free: 7.688 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.2055/1.103, allocations: 8.458 MB / 0.5899 GB, free: 123.5 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/1.103, allocations: 137.7 kB / 0.59 GB, free: 123.4 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009404/1.112, allocations: 6.328 MB / 0.5962 GB, free: 123 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000971/1.113, allocations: 117.5 kB / 0.5963 GB, free: 123 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004001/1.117, allocations: 8.391 MB / 0.6045 GB, free: 119 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001687/1.119, allocations: 2.178 MB / 0.6066 GB, free: 117.7 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002155/1.121, allocations: 2.454 MB / 0.609 GB, free: 117.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/1.121, allocations: 477.6 kB / 0.6095 GB, free: 117.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/1.124, allocations: 1.396 MB / 0.6108 GB, free: 117 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004259/1.128, allocations: 8.599 MB / 0.6192 GB, free: 108.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007926/1.136, allocations: 11.04 MB / 0.63 GB, free: 99.47 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/1.136, allocations: 45.88 kB / 0.6301 GB, free: 99.47 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01186/1.148, allocations: 8.977 MB / 0.6388 GB, free: 98.73 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/1.148, allocations: 73.22 kB / 0.6389 GB, free: 98.73 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/1.148, allocations: 158.2 kB / 0.639 GB, free: 98.73 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/1.152, allocations: 1.606 MB / 0.6406 GB, free: 98.62 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/1.156, allocations: 2.36 MB / 0.6429 GB, free: 98.24 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/1.163, allocations: 7.285 MB / 0.65 GB, free: 93.64 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005327/1.168, allocations: 1.354 MB / 0.6513 GB, free: 92.54 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005892/1.169, allocations: 0.5349 MB / 0.6519 GB, free: 92.09 MB / 442.8 MB 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.003915/1.173, allocations: 0.8807 MB / 0.6527 GB, free: 91.66 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009933/1.174, allocations: 0.813 MB / 0.6535 GB, free: 90.92 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006634/1.18, allocations: 5.851 MB / 0.6592 GB, free: 86.29 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004335/1.185, allocations: 3.402 MB / 0.6626 GB, free: 83.2 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.185, allocations: 15.89 kB / 0.6626 GB, free: 83.19 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.185, allocations: 32.72 kB / 0.6626 GB, free: 83.18 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/1.211, allocations: 18.28 MB / 0.6805 GB, free: 67.18 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.211, allocations: 8 kB / 0.6805 GB, free: 67.17 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/1.213, allocations: 1.015 MB / 0.6815 GB, free: 66.38 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/1.216, allocations: 1.413 MB / 0.6828 GB, free: 65.37 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002834/1.217, allocations: 134.5 kB / 0.683 GB, free: 65.25 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006331/1.223, allocations: 6.931 MB / 0.6897 GB, free: 58.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.223, allocations: 15.27 kB / 0.6897 GB, free: 58.79 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/1.231, allocations: 6.366 MB / 0.696 GB, free: 52.08 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/1.234, allocations: 1.279 MB / 0.6972 GB, free: 50.8 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/1.234, allocations: 116 kB / 0.6973 GB, free: 50.68 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.236, allocations: 315.7 kB / 0.6976 GB, free: 50.38 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000516/1.236, allocations: 427.2 kB / 0.698 GB, free: 49.96 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.236, allocations: 172 kB / 0.6982 GB, free: 49.79 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003353/1.24, allocations: 2.622 MB / 0.7008 GB, free: 47.2 MB / 442.8 MB Notification: Performance of sort global known variables: time 4.11e-07/1.24, allocations: 0 / 0.7008 GB, free: 47.2 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009937/1.25, allocations: 4.099 MB / 0.7048 GB, free: 43.09 MB / 442.8 MB 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.0008892/1.251, allocations: 328.2 kB / 0.7051 GB, free: 42.82 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0097/1.26, allocations: 6.555 MB / 0.7115 GB, free: 36.68 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.26, allocations: 0.7656 kB / 0.7115 GB, free: 36.68 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003208/1.263, allocations: 2.754 MB / 0.7142 GB, free: 34.02 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/1.268, allocations: 1.491 MB / 0.7156 GB, free: 32.61 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/1.301, allocations: 24.62 MB / 0.7397 GB, free: 7.676 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003967/1.305, allocations: 4.904 MB / 0.7445 GB, free: 2.734 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.1662/1.471, allocations: 3.192 MB / 0.7476 GB, free: 108 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/1.473, allocations: 0.5408 MB / 0.7481 GB, free: 108 MB / 442.8 MB Notification: Performance of SimCode: time 1.983e-06/1.473, allocations: 0 / 0.7481 GB, free: 108 MB / 442.8 MB Notification: Performance of Templates: time 0.1056/1.578, allocations: 90.24 MB / 0.8362 GB, free: 49.96 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.451960753649473]