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.001418/0.001418, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001702/0.001702, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9893/0.9893, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] 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 2.554e-06/2.554e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.006e-05/4.261e-05, allocations: 5.266 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1747/0.1748, allocations: 27.69 MB / 300.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.1883, allocations: 7.178 MB / 307.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006267/0.1946, allocations: 315.2 kB / 308.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01468/0.2093, allocations: 14.05 MB / 322.1 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.2197, allocations: 2.681 MB / 324.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00548/0.2252, allocations: 2.06 MB / 326.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01894/0.2441, allocations: 19.1 MB / 346 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04192/0.2861, allocations: 28.21 MB / 374.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02334/0.3094, allocations: 15.27 MB / 389.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01578/0.3252, allocations: 10.99 MB / 400.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007977/0.3332, allocations: 2.918 MB / 403.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.3443, allocations: 3.206 MB / 406.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01065/0.3549, allocations: 5.677 MB / 412.3 MB, free: 6.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01646/0.3714, allocations: 7.338 MB / 419.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2779/0.6492, allocations: 18.33 MB / 437.9 MB, free: 67.32 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.6492, allocations: 0 / 437.9 MB, free: 67.32 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6492, allocations: 0 / 437.9 MB, free: 67.32 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0008181/0.6501, allocations: 0.75 kB / 437.9 MB, free: 67.32 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.04844/0.6985, allocations: 23.9 MB / 461.8 MB, free: 61.82 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.6986, allocations: 22.38 kB / 461.8 MB, free: 61.82 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03169/0.7302, allocations: 10.67 MB / 472.5 MB, free: 59.67 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01898/0.7492, allocations: 11.13 MB / 483.6 MB, free: 52.7 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/0.7503, allocations: 1.343 MB / 485 MB, free: 52.09 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006519/0.7568, allocations: 1.758 MB / 486.7 MB, free: 50.66 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04754/0.8044, allocations: 15.29 MB / 0.4903 GB, free: 35.27 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005202/0.8049, allocations: 11.91 kB / 0.4903 GB, free: 35.26 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004719/0.8096, allocations: 0.7279 MB / 0.491 GB, free: 34.54 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004725/0.8101, allocations: 0.8493 MB / 0.4918 GB, free: 33.69 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02552/0.8356, allocations: 7.29 MB / 0.4989 GB, free: 26.39 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/0.9382, allocations: 71.45 MB / 0.5687 GB, free: 2.766 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.9514, allocations: 10.27 MB / 0.5787 GB, free: 10.54 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004424/0.9558, allocations: 2.599 MB / 0.5813 GB, free: 7.93 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/0.9562, allocations: 180.4 kB / 0.5815 GB, free: 7.75 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.9563, allocations: 93.91 kB / 0.5815 GB, free: 7.645 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 7.384e-06/0.9563, allocations: 0 / 0.5815 GB, free: 7.645 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.1773/1.134, allocations: 8.452 MB / 0.5898 GB, free: 123.4 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.134, allocations: 145.3 kB / 0.5899 GB, free: 123.3 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009911/1.144, allocations: 6.325 MB / 0.5961 GB, free: 122.9 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.145, allocations: 121.8 kB / 0.5962 GB, free: 122.9 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005872/1.151, allocations: 8.389 MB / 0.6044 GB, free: 118.9 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002328/1.153, allocations: 2.179 MB / 0.6066 GB, free: 117.6 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00342/1.156, allocations: 2.457 MB / 0.609 GB, free: 117.4 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/1.157, allocations: 477.5 kB / 0.6094 GB, free: 117 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/1.159, allocations: 1.396 MB / 0.6108 GB, free: 116.9 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005433/1.165, allocations: 8.596 MB / 0.6192 GB, free: 108.2 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009678/1.174, allocations: 11.04 MB / 0.6299 GB, free: 99.37 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002668/1.175, allocations: 45.75 kB / 0.63 GB, free: 99.37 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01607/1.191, allocations: 8.979 MB / 0.6388 GB, free: 98.62 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.191, allocations: 73.38 kB / 0.6388 GB, free: 98.62 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/1.191, allocations: 157.8 kB / 0.639 GB, free: 98.62 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003731/1.195, allocations: 1.604 MB / 0.6405 GB, free: 98.51 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004419/1.199, allocations: 2.366 MB / 0.6429 GB, free: 98.16 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/1.206, allocations: 7.285 MB / 0.65 GB, free: 93.58 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/1.212, allocations: 1.352 MB / 0.6513 GB, free: 92.47 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.214, allocations: 0.5367 MB / 0.6518 GB, free: 92.03 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.004573/1.218, allocations: 0.88 MB / 0.6527 GB, free: 91.59 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.219, allocations: 0.8094 MB / 0.6535 GB, free: 90.85 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00703/1.226, allocations: 5.857 MB / 0.6592 GB, free: 86.07 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004411/1.231, allocations: 3.409 MB / 0.6625 GB, free: 82.98 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.231, allocations: 16 kB / 0.6625 GB, free: 82.97 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/1.231, allocations: 25.64 kB / 0.6626 GB, free: 82.97 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/1.258, allocations: 18.28 MB / 0.6804 GB, free: 66.96 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/1.258, allocations: 9 kB / 0.6804 GB, free: 66.95 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/1.261, allocations: 1.016 MB / 0.6814 GB, free: 66.17 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004055/1.265, allocations: 1.41 MB / 0.6828 GB, free: 65.16 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003793/1.265, allocations: 132 kB / 0.6829 GB, free: 65.04 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008096/1.273, allocations: 6.923 MB / 0.6897 GB, free: 58.69 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.273, allocations: 11.38 kB / 0.6897 GB, free: 58.68 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.284, allocations: 6.368 MB / 0.6959 GB, free: 52 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/1.286, allocations: 1.283 MB / 0.6972 GB, free: 50.72 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007795/1.287, allocations: 112 kB / 0.6973 GB, free: 50.61 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/1.289, allocations: 319.7 kB / 0.6976 GB, free: 50.3 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006585/1.29, allocations: 426.5 kB / 0.698 GB, free: 49.88 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/1.29, allocations: 176 kB / 0.6981 GB, free: 49.71 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00438/1.294, allocations: 2.618 MB / 0.7007 GB, free: 47.12 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.294, allocations: 0 / 0.7007 GB, free: 47.12 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009914/1.304, allocations: 4.098 MB / 0.7047 GB, free: 43.01 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.0008923/1.305, allocations: 329.6 kB / 0.705 GB, free: 42.75 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.316, allocations: 6.554 MB / 0.7114 GB, free: 36.61 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.316, allocations: 0 / 0.7114 GB, free: 36.61 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004178/1.321, allocations: 2.752 MB / 0.7141 GB, free: 33.94 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.326, allocations: 1.497 MB / 0.7156 GB, free: 32.54 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/1.36, allocations: 24.62 MB / 0.7396 GB, free: 7.613 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004964/1.365, allocations: 4.905 MB / 0.7444 GB, free: 2.672 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.1335/1.498, allocations: 3.192 MB / 0.7475 GB, free: 118.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/1.501, allocations: 0.5385 MB / 0.748 GB, free: 118.8 MB / 442.8 MB Notification: Performance of SimCode: time 1.864e-06/1.501, allocations: 3.875 kB / 0.748 GB, free: 118.8 MB / 442.8 MB Notification: Performance of Templates: time 0.108/1.609, allocations: 90.21 MB / 0.8361 GB, free: 56.29 MB / 442.8 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",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.304164063185453]