Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 218.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 55.92 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2742, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03295/0.3071, allocations: 24.5 MB / 456.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01704/0.3242, allocations: 7.028 MB / 463.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005274/0.3295, allocations: 314.4 kB / 463.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03019/0.3597, allocations: 12.19 MB / 475.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.371, allocations: 2.613 MB / 478.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00718/0.3781, allocations: 2.031 MB / 480.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02648/0.4046, allocations: 18.54 MB / 498.8 MB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06257/0.4672, allocations: 28.1 MB / 0.5146 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01754/0.4847, allocations: 10.15 MB / 0.5245 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01986/0.5046, allocations: 10.84 MB / 0.5351 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3976/0.9022, allocations: 2.916 MB / 0.5379 GB, free: 40.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.914, allocations: 3.179 MB / 0.541 GB, free: 40.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00814/0.9221, allocations: 5.494 MB / 0.5464 GB, free: 40.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01632/0.9385, allocations: 8.371 MB / 0.5545 GB, free: 39.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03235/0.9708, allocations: 39.28 MB / 0.5929 GB, free: 20.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9708, allocations: 0 / 0.5929 GB, free: 20.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.9708, allocations: 2.25 kB / 0.5929 GB, free: 20.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001063/0.9719, allocations: 0 / 0.5929 GB, free: 20.35 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.05992/1.032, allocations: 22.24 MB / 0.6146 GB, free: 3.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.032, allocations: 15.97 kB / 0.6146 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04274/1.075, allocations: 8.233 MB / 0.6227 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02804/1.103, allocations: 11.89 MB / 0.6343 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/1.104, allocations: 1.342 MB / 0.6356 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006738/1.111, allocations: 1.754 MB / 0.6373 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07184/1.183, allocations: 29.02 MB / 0.6657 GB, free: 15.34 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006282/1.183, allocations: 15.91 kB / 0.6657 GB, free: 15.32 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005202/1.188, allocations: 0.7274 MB / 0.6664 GB, free: 14.61 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009087/1.189, allocations: 0.8453 MB / 0.6672 GB, free: 13.76 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05722/1.247, allocations: 24.76 MB / 0.6914 GB, free: 4.98 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4162/1.663, allocations: 76.09 MB / 0.7657 GB, free: 141.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/1.682, allocations: 12.79 MB / 0.7782 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007866/1.689, allocations: 5.028 MB / 0.7831 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/1.69, allocations: 140.5 kB / 0.7832 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.69, allocations: 100.2 kB / 0.7833 GB, free: 140.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.307e-06/1.69, allocations: 0 / 0.7833 GB, free: 140.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.0309/1.721, allocations: 14.68 MB / 0.7977 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/1.721, allocations: 146.5 kB / 0.7978 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/1.731, allocations: 6.492 MB / 0.8041 GB, free: 137.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/1.732, allocations: 115.6 kB / 0.8043 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004214/1.736, allocations: 7.901 MB / 0.812 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/1.739, allocations: 2.108 MB / 0.814 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003121/1.742, allocations: 2.116 MB / 0.8161 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/1.742, allocations: 305.1 kB / 0.8164 GB, free: 127.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006558/1.748, allocations: 4.743 MB / 0.821 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009596/1.758, allocations: 9.494 MB / 0.8303 GB, free: 116.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/1.775, allocations: 15.33 MB / 0.8453 GB, free: 98.52 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002222/1.775, allocations: 44 kB / 0.8453 GB, free: 98.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0326/1.808, allocations: 15.4 MB / 0.8603 GB, free: 83 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004436/1.808, allocations: 76 kB / 0.8604 GB, free: 82.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004903/1.808, allocations: 160 kB / 0.8606 GB, free: 82.77 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007416/1.816, allocations: 1.657 MB / 0.8622 GB, free: 81.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/1.828, allocations: 2.363 MB / 0.8645 GB, free: 78.73 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/1.85, allocations: 11.24 MB / 0.8755 GB, free: 67.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01222/1.862, allocations: 1.362 MB / 0.8768 GB, free: 66.03 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002692/1.865, allocations: 0.5312 MB / 0.8773 GB, free: 65.5 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.01387/1.878, allocations: 7.153 MB / 0.8843 GB, free: 58.33 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.88, allocations: 0.6209 MB / 0.8849 GB, free: 57.7 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.893, allocations: 10.07 MB / 0.8947 GB, free: 47.52 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01063/1.904, allocations: 7.769 MB / 0.9023 GB, free: 39.66 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.904, allocations: 12 kB / 0.9023 GB, free: 39.65 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-05/1.904, allocations: 27.89 kB / 0.9024 GB, free: 39.62 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04639/1.95, allocations: 21.78 MB / 0.9236 GB, free: 17.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/1.95, allocations: 8 kB / 0.9236 GB, free: 17.72 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003807/1.954, allocations: 1.018 MB / 0.9246 GB, free: 16.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004606/1.959, allocations: 1.466 MB / 0.9261 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008806/1.96, allocations: 135.9 kB / 0.9262 GB, free: 15.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.972, allocations: 10.8 MB / 0.9367 GB, free: 4.203 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.972, allocations: 11.94 kB / 0.9368 GB, free: 4.191 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/1.994, allocations: 14.11 MB / 0.9505 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004576/1.999, allocations: 1.427 MB / 0.9519 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/2, allocations: 108 kB / 0.952 GB, free: 4.188 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/2.003, allocations: 315.8 kB / 0.9523 GB, free: 3.879 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008698/2.004, allocations: 436.1 kB / 0.9527 GB, free: 3.449 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003883/2.004, allocations: 172 kB / 0.9529 GB, free: 3.281 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008002/2.012, allocations: 4.156 MB / 0.957 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/2.012, allocations: 3.938 kB / 0.957 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01398/2.026, allocations: 4.102 MB / 0.961 GB, free: 11.03 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.001426/2.028, allocations: 326.8 kB / 0.9613 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2486/2.276, allocations: 10.95 MB / 0.972 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/2.276, allocations: 2.406 kB / 0.972 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008112/2.284, allocations: 4.346 MB / 0.9762 GB, free: 195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007258/2.292, allocations: 1.455 MB / 0.9777 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05681/2.348, allocations: 29.79 MB / 1.007 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01831/2.367, allocations: 10.93 MB / 1.017 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01168/2.378, allocations: 3.858 MB / 1.021 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002817/2.381, allocations: 0.5423 MB / 1.022 GB, free: 178 MB / 0.5919 GB Notification: Performance of SimCode: time 1.794e-06/2.381, allocations: 0 / 1.022 GB, free: 178 MB / 0.5919 GB Notification: Performance of Templates: time 0.1793/2.56, allocations: 107 MB / 1.126 GB, free: 74.01 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.958890883252025]