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.001829/0.001829, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001612/0.001612, allocations: 213 kB / 23.73 MB, free: 4.164 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.001907/0.001907, allocations: 67.91 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2356, allocations: 53.41 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02959/0.2652, allocations: 24.51 MB / 456.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.2805, allocations: 7.035 MB / 463.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004649/0.2851, allocations: 310.4 kB / 463.5 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02911/0.3142, allocations: 12.2 MB / 475.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.3253, allocations: 2.601 MB / 478.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008026/0.3333, allocations: 2.036 MB / 480.3 MB, free: 5.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02525/0.3586, allocations: 18.53 MB / 498.9 MB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06192/0.4205, allocations: 28.1 MB / 0.5146 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01672/0.4372, allocations: 10.17 MB / 0.5245 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02/0.4572, allocations: 10.83 MB / 0.5351 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.4295/0.8868, allocations: 2.917 MB / 0.538 GB, free: 40.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00939/0.8962, allocations: 3.184 MB / 0.5411 GB, free: 40.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008313/0.9045, allocations: 5.488 MB / 0.5464 GB, free: 40.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01976/0.9242, allocations: 8.371 MB / 0.5546 GB, free: 39.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03445/0.9587, allocations: 39.27 MB / 0.593 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.9587, allocations: 0 / 0.593 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.9587, allocations: 6.438 kB / 0.593 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001144/0.9598, allocations: 0 / 0.593 GB, free: 20.12 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.05933/1.019, allocations: 22.24 MB / 0.6147 GB, free: 2.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/1.019, allocations: 11.98 kB / 0.6147 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04624/1.065, allocations: 8.242 MB / 0.6227 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02857/1.094, allocations: 11.89 MB / 0.6344 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001562/1.096, allocations: 1.343 MB / 0.6357 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008637/1.104, allocations: 1.75 MB / 0.6374 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08147/1.186, allocations: 29.02 MB / 0.6657 GB, free: 15.04 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009519/1.187, allocations: 19.91 kB / 0.6657 GB, free: 15.02 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006891/1.194, allocations: 0.73 MB / 0.6665 GB, free: 14.3 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001081/1.195, allocations: 0.8453 MB / 0.6673 GB, free: 13.45 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06273/1.257, allocations: 24.77 MB / 0.6915 GB, free: 4.668 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3807/1.638, allocations: 76.08 MB / 0.7658 GB, free: 141 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/1.656, allocations: 12.8 MB / 0.7783 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007209/1.663, allocations: 5.03 MB / 0.7832 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/1.663, allocations: 144 kB / 0.7833 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/1.663, allocations: 98.7 kB / 0.7834 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 8.866e-06/1.663, allocations: 0 / 0.7834 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03135/1.695, allocations: 14.67 MB / 0.7977 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/1.695, allocations: 136.8 kB / 0.7979 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009335/1.704, allocations: 6.495 MB / 0.8042 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009606/1.705, allocations: 115.5 kB / 0.8043 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004049/1.709, allocations: 7.899 MB / 0.812 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.711, allocations: 2.109 MB / 0.8141 GB, free: 128.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002747/1.714, allocations: 2.117 MB / 0.8162 GB, free: 127.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/1.714, allocations: 308.8 kB / 0.8164 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006119/1.72, allocations: 4.739 MB / 0.8211 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008557/1.729, allocations: 9.503 MB / 0.8304 GB, free: 115.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/1.744, allocations: 15.33 MB / 0.8453 GB, free: 98.05 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/1.744, allocations: 48 kB / 0.8454 GB, free: 98 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02441/1.768, allocations: 15.39 MB / 0.8604 GB, free: 82.52 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002901/1.769, allocations: 72 kB / 0.8605 GB, free: 82.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003534/1.769, allocations: 164 kB / 0.8606 GB, free: 82.29 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/1.774, allocations: 1.661 MB / 0.8622 GB, free: 80.63 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007961/1.782, allocations: 2.363 MB / 0.8646 GB, free: 78.26 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/1.795, allocations: 11.25 MB / 0.8755 GB, free: 66.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00782/1.803, allocations: 1.358 MB / 0.8769 GB, free: 65.55 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.805, allocations: 0.536 MB / 0.8774 GB, free: 65.02 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.01186/1.817, allocations: 7.145 MB / 0.8844 GB, free: 57.86 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.818, allocations: 0.6248 MB / 0.885 GB, free: 57.23 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.832, allocations: 10.08 MB / 0.8948 GB, free: 47.03 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009456/1.842, allocations: 7.769 MB / 0.9024 GB, free: 39.18 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/1.842, allocations: 15.98 kB / 0.9024 GB, free: 39.16 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.384e-05/1.842, allocations: 27.89 kB / 0.9024 GB, free: 39.14 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03545/1.877, allocations: 21.76 MB / 0.9237 GB, free: 17.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.877, allocations: 11.98 kB / 0.9237 GB, free: 17.25 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003611/1.881, allocations: 1.014 MB / 0.9247 GB, free: 16.23 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004476/1.886, allocations: 1.461 MB / 0.9261 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005084/1.886, allocations: 132 kB / 0.9263 GB, free: 14.63 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/1.898, allocations: 10.8 MB / 0.9368 GB, free: 3.746 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.898, allocations: 12.06 kB / 0.9368 GB, free: 3.734 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02155/1.919, allocations: 14.12 MB / 0.9506 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004292/1.923, allocations: 1.424 MB / 0.952 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.925, allocations: 107.9 kB / 0.9521 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.928, allocations: 319.7 kB / 0.9524 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008853/1.929, allocations: 428.2 kB / 0.9528 GB, free: 2.988 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00039/1.929, allocations: 172 kB / 0.953 GB, free: 2.82 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007789/1.937, allocations: 4.16 MB / 0.957 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.937, allocations: 0 / 0.957 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0132/1.95, allocations: 4.102 MB / 0.961 GB, free: 10.57 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.001438/1.952, allocations: 317.6 kB / 0.9613 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2571/2.209, allocations: 10.94 MB / 0.972 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/2.209, allocations: 2.094 kB / 0.972 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008165/2.217, allocations: 4.346 MB / 0.9763 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007215/2.224, allocations: 1.469 MB / 0.9777 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05077/2.275, allocations: 29.78 MB / 1.007 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01713/2.292, allocations: 10.93 MB / 1.017 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008668/2.301, allocations: 3.861 MB / 1.021 GB, free: 178 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.303, allocations: 0.5376 MB / 1.022 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/2.303, allocations: 0 / 1.022 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1516/2.454, allocations: 107 MB / 1.126 GB, free: 73.31 MB / 0.5919 GB " [Timeout remaining time 658] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 10.006555056199431]