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.00088/0.00088, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003876/0.003876, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 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.9005/0.9005, allocations: 177 MB / 204.8 MB, free: 5.738 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 1.653e-06/1.653e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.401e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01668/0.0167, allocations: 24.53 MB / 350.3 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.02969, allocations: 7.031 MB / 357.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005073/0.03476, allocations: 310.4 kB / 357.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01418/0.04894, allocations: 12.94 MB / 370.6 MB, free: 2.383 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009408/0.05835, allocations: 2.678 MB / 373.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005113/0.06346, allocations: 2.035 MB / 375.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01662/0.08008, allocations: 19.1 MB / 394.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04589/0.126, allocations: 28.18 MB / 422.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0241/0.1501, allocations: 15.1 MB / 437.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01472/0.1648, allocations: 9.758 MB / 447.4 MB, free: 5.211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007039/0.1718, allocations: 2.918 MB / 450.4 MB, free: 2.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2967/0.4685, allocations: 3.201 MB / 453.6 MB, free: 52.49 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008902/0.4774, allocations: 5.582 MB / 459.1 MB, free: 52.49 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01702/0.4944, allocations: 7.232 MB / 466.4 MB, free: 52.49 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03254/0.527, allocations: 39.53 MB / 0.494 GB, free: 34.53 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.527, allocations: 3.406 kB / 0.494 GB, free: 34.53 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.527, allocations: 0 / 0.494 GB, free: 34.53 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001166/0.5281, allocations: 0 / 0.494 GB, free: 34.53 MB / 410.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.04834/0.5765, allocations: 22.07 MB / 0.5156 GB, free: 19.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5765, allocations: 11.98 kB / 0.5156 GB, free: 19.65 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02437/0.6009, allocations: 8.24 MB / 0.5237 GB, free: 11.48 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02143/0.6223, allocations: 11.89 MB / 0.5353 GB, free: 100 kB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00136/0.6237, allocations: 1.34 MB / 0.5366 GB, free: 14.76 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008518/0.6322, allocations: 1.767 MB / 0.5383 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08233/0.7145, allocations: 29.01 MB / 0.5666 GB, free: 15.89 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007787/0.7153, allocations: 23.84 kB / 0.5667 GB, free: 15.87 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006342/0.7217, allocations: 0.7267 MB / 0.5674 GB, free: 15.15 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006833/0.7223, allocations: 0.8454 MB / 0.5682 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0473/0.7696, allocations: 24.76 MB / 0.5924 GB, free: 5.523 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2922/1.062, allocations: 76.12 MB / 0.6667 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/1.076, allocations: 12.79 MB / 0.6792 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00536/1.081, allocations: 5.03 MB / 0.6841 GB, free: 120.6 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/1.082, allocations: 145.6 kB / 0.6843 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/1.082, allocations: 97.11 kB / 0.6843 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=577): time 8.265e-06/1.082, allocations: 0 / 0.6843 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=577): time 0.02106/1.103, allocations: 14.68 MB / 0.6987 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/1.103, allocations: 137.4 kB / 0.6988 GB, free: 113.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00731/1.11, allocations: 6.491 MB / 0.7051 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009865/1.111, allocations: 117.7 kB / 0.7053 GB, free: 109.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002547/1.114, allocations: 7.864 MB / 0.7129 GB, free: 101.2 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.115, allocations: 2.09 MB / 0.715 GB, free: 99.15 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002298/1.118, allocations: 2.084 MB / 0.717 GB, free: 97.05 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.17e-05/1.118, allocations: 313 kB / 0.7173 GB, free: 96.75 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/1.122, allocations: 4.744 MB / 0.7219 GB, free: 92 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/1.128, allocations: 9.497 MB / 0.7312 GB, free: 80.32 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/1.139, allocations: 15.33 MB / 0.7462 GB, free: 62.68 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/1.139, allocations: 45.09 kB / 0.7462 GB, free: 62.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01653/1.156, allocations: 15.39 MB / 0.7613 GB, free: 47.16 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.464e-05/1.156, allocations: 72 kB / 0.7613 GB, free: 47.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/1.156, allocations: 160 kB / 0.7615 GB, free: 46.94 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/1.159, allocations: 1.66 MB / 0.7631 GB, free: 45.27 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004968/1.164, allocations: 2.363 MB / 0.7654 GB, free: 42.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00884/1.173, allocations: 11.24 MB / 0.7764 GB, free: 31.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0064/1.179, allocations: 1.362 MB / 0.7777 GB, free: 30.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/1.181, allocations: 0.5312 MB / 0.7782 GB, free: 29.67 MB / 0.4949 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.01109/1.192, allocations: 7.145 MB / 0.7852 GB, free: 22.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.193, allocations: 0.6248 MB / 0.7858 GB, free: 21.88 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009531/1.203, allocations: 10.08 MB / 0.7957 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006408/1.209, allocations: 7.762 MB / 0.8033 GB, free: 3.836 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.209, allocations: 15.98 kB / 0.8033 GB, free: 3.82 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/1.209, allocations: 27.89 kB / 0.8033 GB, free: 3.793 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2254/1.435, allocations: 21.78 MB / 0.8246 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/1.435, allocations: 9.812 kB / 0.8246 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/1.437, allocations: 1.019 MB / 0.8256 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002762/1.44, allocations: 1.46 MB / 0.827 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008566/1.441, allocations: 139.8 kB / 0.8271 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00985/1.451, allocations: 10.78 MB / 0.8376 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.451, allocations: 17.31 kB / 0.8377 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/1.464, allocations: 14.1 MB / 0.8514 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/1.467, allocations: 1.429 MB / 0.8528 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000685/1.467, allocations: 113.4 kB / 0.8529 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.469, allocations: 319.3 kB / 0.8532 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006027/1.47, allocations: 430.9 kB / 0.8537 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.47, allocations: 175.3 kB / 0.8538 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004699/1.474, allocations: 4.157 MB / 0.8579 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/1.474, allocations: 0 / 0.8579 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009641/1.484, allocations: 4.105 MB / 0.8619 GB, free: 145.5 MB / 0.5105 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.001884/1.486, allocations: 326 kB / 0.8622 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.499, allocations: 10.95 MB / 0.8729 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.499, allocations: 0 / 0.8729 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00449/1.503, allocations: 4.347 MB / 0.8771 GB, free: 135 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/1.508, allocations: 1.456 MB / 0.8786 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04171/1.55, allocations: 29.13 MB / 0.907 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01511/1.565, allocations: 10.57 MB / 0.9173 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002224/1.567, allocations: 0.6136 MB / 0.9179 GB, free: 95.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.114e-06/1.567, allocations: 0 / 0.9179 GB, free: 95.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.4336/2.001, allocations: 289.2 MB / 1.2 GB, free: 20.92 MB / 0.5262 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: 16.30794515926391]