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.0009643/0.0009643, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00127/0.00127, allocations: 156.5 kB / 24.55 MB, free: 20 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.9694/0.9694, allocations: 177 MB / 204.8 MB, free: 5.605 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.142e-06/1.142e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.41e-05, allocations: 6.25 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1283/0.1283, allocations: 27.68 MB / 300.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.1402, allocations: 7.181 MB / 307.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/0.1443, allocations: 314.6 kB / 308.1 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.1567, allocations: 14.06 MB / 322.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008466/0.1652, allocations: 2.687 MB / 324.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.1694, allocations: 2.049 MB / 326.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01786/0.1872, allocations: 19.12 MB / 346 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04301/0.2302, allocations: 28.2 MB / 374.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02324/0.2535, allocations: 15.28 MB / 389.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01527/0.2688, allocations: 11.14 MB / 400.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007377/0.2761, allocations: 2.918 MB / 403.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008738/0.2849, allocations: 3.195 MB / 406.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008457/0.2933, allocations: 5.677 MB / 412.4 MB, free: 6.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01635/0.3097, allocations: 7.338 MB / 419.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2492/0.5589, allocations: 18.34 MB / 438.1 MB, free: 67.45 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.5589, allocations: 3.938 kB / 438.1 MB, free: 67.45 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5589, allocations: 0.75 kB / 438.1 MB, free: 67.45 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0008487/0.5598, allocations: 0 / 438.1 MB, free: 67.45 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.04494/0.6047, allocations: 23.9 MB / 462 MB, free: 61.95 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.6048, allocations: 11.67 kB / 462 MB, free: 61.95 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03839/0.6432, allocations: 10.68 MB / 472.7 MB, free: 59.71 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/0.6616, allocations: 11.13 MB / 483.8 MB, free: 52.75 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009045/0.6625, allocations: 1.339 MB / 485.1 MB, free: 52.14 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004825/0.6674, allocations: 1.759 MB / 486.9 MB, free: 50.7 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0428/0.7102, allocations: 15.28 MB / 0.4904 GB, free: 35.31 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004936/0.7107, allocations: 23.89 kB / 0.4904 GB, free: 35.29 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004553/0.7152, allocations: 0.7222 MB / 0.4911 GB, free: 34.57 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004675/0.7157, allocations: 0.8454 MB / 0.492 GB, free: 33.73 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.7417, allocations: 7.29 MB / 0.4991 GB, free: 26.43 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.109/0.8507, allocations: 71.45 MB / 0.5689 GB, free: 2.797 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.8639, allocations: 10.27 MB / 0.5789 GB, free: 10.57 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004432/0.8684, allocations: 2.603 MB / 0.5814 GB, free: 7.961 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004006/0.8688, allocations: 183 kB / 0.5816 GB, free: 7.781 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/0.8688, allocations: 101.4 kB / 0.5817 GB, free: 7.672 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 8.646e-06/0.8688, allocations: 0 / 0.5817 GB, free: 7.672 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.1746/1.043, allocations: 8.451 MB / 0.59 GB, free: 123.5 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/1.044, allocations: 141.7 kB / 0.5901 GB, free: 123.4 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008453/1.052, allocations: 6.328 MB / 0.5963 GB, free: 123 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000807/1.053, allocations: 121.8 kB / 0.5964 GB, free: 122.9 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003376/1.056, allocations: 8.385 MB / 0.6046 GB, free: 119 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.057, allocations: 2.184 MB / 0.6067 GB, free: 117.7 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/1.059, allocations: 2.452 MB / 0.6091 GB, free: 117.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/1.059, allocations: 477.6 kB / 0.6096 GB, free: 117 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.061, allocations: 1.394 MB / 0.6109 GB, free: 117 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/1.065, allocations: 8.599 MB / 0.6193 GB, free: 108.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006819/1.072, allocations: 11.04 MB / 0.6301 GB, free: 99.45 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.937e-05/1.072, allocations: 45.88 kB / 0.6301 GB, free: 99.45 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01277/1.085, allocations: 8.975 MB / 0.6389 GB, free: 98.71 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/1.085, allocations: 76.44 kB / 0.639 GB, free: 98.71 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/1.085, allocations: 162.3 kB / 0.6391 GB, free: 98.71 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/1.089, allocations: 1.602 MB / 0.6407 GB, free: 98.59 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005073/1.094, allocations: 2.362 MB / 0.643 GB, free: 98.23 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00808/1.102, allocations: 7.283 MB / 0.6501 GB, free: 93.64 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.107, allocations: 1.351 MB / 0.6514 GB, free: 92.53 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006083/1.108, allocations: 0.5353 MB / 0.652 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.003375/1.111, allocations: 0.8838 MB / 0.6528 GB, free: 91.66 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009176/1.112, allocations: 0.8058 MB / 0.6536 GB, free: 90.92 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00822/1.121, allocations: 5.859 MB / 0.6593 GB, free: 86.11 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004789/1.125, allocations: 3.409 MB / 0.6627 GB, free: 83.02 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.125, allocations: 12 kB / 0.6627 GB, free: 83.01 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/1.125, allocations: 33.72 kB / 0.6627 GB, free: 83.01 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/1.145, allocations: 18.28 MB / 0.6806 GB, free: 67 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.145, allocations: 8 kB / 0.6806 GB, free: 66.99 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.147, allocations: 1.015 MB / 0.6816 GB, free: 66.21 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/1.15, allocations: 1.408 MB / 0.6829 GB, free: 65.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/1.15, allocations: 132 kB / 0.6831 GB, free: 65.08 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/1.156, allocations: 6.926 MB / 0.6898 GB, free: 58.73 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.156, allocations: 12.94 kB / 0.6898 GB, free: 58.72 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006753/1.162, allocations: 6.373 MB / 0.6961 GB, free: 52.02 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.164, allocations: 1.279 MB / 0.6973 GB, free: 50.73 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004277/1.164, allocations: 112 kB / 0.6974 GB, free: 50.62 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.166, allocations: 319.7 kB / 0.6977 GB, free: 50.31 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.166, allocations: 426.9 kB / 0.6981 GB, free: 49.89 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.166, allocations: 168 kB / 0.6983 GB, free: 49.73 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002385/1.169, allocations: 2.622 MB / 0.7008 GB, free: 47.14 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/1.169, allocations: 0 / 0.7008 GB, free: 47.14 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006903/1.176, allocations: 4.102 MB / 0.7048 GB, free: 43.02 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.0005462/1.176, allocations: 338 kB / 0.7052 GB, free: 42.76 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00644/1.182, allocations: 6.55 MB / 0.7116 GB, free: 36.62 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.182, allocations: 4 kB / 0.7116 GB, free: 36.62 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.185, allocations: 2.742 MB / 0.7142 GB, free: 33.96 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.188, allocations: 1.498 MB / 0.7157 GB, free: 32.56 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/1.214, allocations: 24.62 MB / 0.7397 GB, free: 7.625 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.217, allocations: 4.904 MB / 0.7445 GB, free: 2.684 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.1397/1.357, allocations: 3.192 MB / 0.7477 GB, free: 108.1 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/1.359, allocations: 0.5426 MB / 0.7482 GB, free: 108.1 MB / 442.8 MB Notification: Performance of SimCode: time 2.464e-06/1.359, allocations: 0 / 0.7482 GB, free: 108.1 MB / 442.8 MB Notification: Performance of Templates: time 0.1052/1.464, allocations: 94.51 MB / 0.8405 GB, free: 45.71 MB / 442.8 MB " [Timeout remaining time 659] 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.036150814034045]