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.001785/0.001785, allocations: 81.7 kB / 21.25 MB, free: 0.5469 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.002224/0.002224, allocations: 161.4 kB / 24.5 MB, free: 3.715 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.481/1.481, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.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.001891/0.001891, allocations: 65.88 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09253, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02862/0.1211, allocations: 24.51 MB / 403.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1356, allocations: 7.023 MB / 410.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004874/0.1405, allocations: 314.4 kB / 410.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0301/0.1706, allocations: 12.92 MB / 423.7 MB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009795/0.1804, allocations: 2.601 MB / 426.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006856/0.1873, allocations: 2.023 MB / 428.3 MB, free: 13.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02561/0.2129, allocations: 18.55 MB / 446.9 MB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.426/0.6389, allocations: 28.1 MB / 475 MB, free: 18.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.6537, allocations: 10.16 MB / 485.1 MB, free: 17.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01629/0.6699, allocations: 10.83 MB / 495.9 MB, free: 16.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00632/0.6763, allocations: 2.92 MB / 498.9 MB, free: 16.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008228/0.6845, allocations: 3.185 MB / 0.4903 GB, free: 16.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005747/0.6902, allocations: 5.489 MB / 0.4956 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01189/0.7021, allocations: 8.375 MB / 0.5038 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03509/0.7372, allocations: 39.27 MB / 0.5422 GB, free: 13.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7372, allocations: 0 / 0.5422 GB, free: 13.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7372, allocations: 0 / 0.5422 GB, free: 13.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008901/0.7381, allocations: 0 / 0.5422 GB, free: 13.83 MB / 462.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.06211/0.8002, allocations: 22.25 MB / 0.5639 GB, free: 7.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.8003, allocations: 11.69 kB / 0.5639 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04599/0.8462, allocations: 8.247 MB / 0.572 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02549/0.8717, allocations: 11.89 MB / 0.5836 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001416/0.8732, allocations: 1.338 MB / 0.5849 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005722/0.8789, allocations: 1.756 MB / 0.5866 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06612/0.945, allocations: 29.01 MB / 0.6149 GB, free: 3.809 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007042/0.9457, allocations: 23.89 kB / 0.6149 GB, free: 3.785 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004604/0.9503, allocations: 0.7296 MB / 0.6157 GB, free: 3.07 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009237/0.9512, allocations: 0.8461 MB / 0.6165 GB, free: 2.227 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05726/1.008, allocations: 24.75 MB / 0.6407 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3613/1.37, allocations: 76.14 MB / 0.715 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/1.389, allocations: 12.79 MB / 0.7275 GB, free: 154.7 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007531/1.396, allocations: 5.032 MB / 0.7324 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/1.397, allocations: 142.9 kB / 0.7325 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/1.397, allocations: 98.08 kB / 0.7326 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 9.067e-06/1.397, allocations: 0 / 0.7326 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.0306/1.427, allocations: 14.67 MB / 0.747 GB, free: 148.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/1.427, allocations: 136.8 kB / 0.7471 GB, free: 148.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007971/1.435, allocations: 6.486 MB / 0.7534 GB, free: 144.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009192/1.436, allocations: 127 kB / 0.7536 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/1.44, allocations: 7.898 MB / 0.7613 GB, free: 137.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00213/1.442, allocations: 2.116 MB / 0.7633 GB, free: 135.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002862/1.445, allocations: 2.11 MB / 0.7654 GB, free: 134.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/1.445, allocations: 305.1 kB / 0.7657 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005572/1.45, allocations: 4.753 MB / 0.7703 GB, free: 131.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007998/1.458, allocations: 9.5 MB / 0.7796 GB, free: 120.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/1.474, allocations: 15.33 MB / 0.7946 GB, free: 103.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001828/1.474, allocations: 47.94 kB / 0.7946 GB, free: 103.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0221/1.496, allocations: 15.38 MB / 0.8096 GB, free: 87.73 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/1.496, allocations: 72 kB / 0.8097 GB, free: 87.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/1.497, allocations: 160 kB / 0.8099 GB, free: 87.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/1.501, allocations: 1.662 MB / 0.8115 GB, free: 85.84 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006729/1.508, allocations: 2.359 MB / 0.8138 GB, free: 83.47 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.52, allocations: 11.25 MB / 0.8248 GB, free: 72.13 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00658/1.527, allocations: 1.358 MB / 0.8261 GB, free: 70.76 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008753/1.528, allocations: 0.539 MB / 0.8266 GB, free: 70.22 MB / 0.5763 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.008821/1.536, allocations: 7.141 MB / 0.8336 GB, free: 63.06 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009739/1.537, allocations: 0.6248 MB / 0.8342 GB, free: 62.43 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.55, allocations: 10.08 MB / 0.8441 GB, free: 52.24 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009172/1.559, allocations: 7.769 MB / 0.8516 GB, free: 44.39 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/1.559, allocations: 12 kB / 0.8517 GB, free: 44.38 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.611e-05/1.559, allocations: 35.88 kB / 0.8517 GB, free: 44.34 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03279/1.592, allocations: 21.76 MB / 0.8729 GB, free: 22.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/1.592, allocations: 15.88 kB / 0.873 GB, free: 22.45 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003615/1.596, allocations: 1.023 MB / 0.874 GB, free: 21.42 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004439/1.6, allocations: 1.457 MB / 0.8754 GB, free: 19.96 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000304/1.601, allocations: 132 kB / 0.8755 GB, free: 19.83 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.612, allocations: 10.8 MB / 0.886 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.612, allocations: 11.94 kB / 0.8861 GB, free: 8.926 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/1.629, allocations: 14.12 MB / 0.8998 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003239/1.632, allocations: 1.428 MB / 0.9012 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006662/1.633, allocations: 111.9 kB / 0.9013 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.636, allocations: 315.6 kB / 0.9016 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/1.636, allocations: 432.1 kB / 0.9021 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003718/1.637, allocations: 176 kB / 0.9022 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006746/1.644, allocations: 4.16 MB / 0.9063 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.644, allocations: 0 / 0.9063 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.2612/1.905, allocations: 4.098 MB / 0.9103 GB, free: 190.1 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.001628/1.906, allocations: 309.2 kB / 0.9106 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01922/1.926, allocations: 10.95 MB / 0.9213 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/1.926, allocations: 2.75 kB / 0.9213 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007176/1.933, allocations: 4.347 MB / 0.9255 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006935/1.94, allocations: 1.452 MB / 0.9269 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05159/1.991, allocations: 29.78 MB / 0.956 GB, free: 174 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01366/2.005, allocations: 10.94 MB / 0.9667 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00819/2.013, allocations: 3.853 MB / 0.9705 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/2.015, allocations: 0.5379 MB / 0.971 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.193e-06/2.015, allocations: 0 / 0.971 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.14/2.155, allocations: 91.08 MB / 1.06 GB, free: 77.57 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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: 9.55536726594437]