Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 185.8 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 55.91 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2308, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02929/0.2601, allocations: 24.48 MB / 448.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.2752, allocations: 6.973 MB / 455.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005636/0.2808, allocations: 314.4 kB / 455.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02953/0.3104, allocations: 12.19 MB / 467.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.3212, allocations: 2.761 MB / 470.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006349/0.3276, allocations: 1.854 MB / 472.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02402/0.3516, allocations: 18.36 MB / 490.8 MB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05534/0.4069, allocations: 28.11 MB / 0.5067 GB, free: 15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01728/0.4242, allocations: 10.16 MB / 0.5166 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01878/0.443, allocations: 10.84 MB / 0.5272 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007765/0.4508, allocations: 2.918 MB / 0.5301 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009763/0.4605, allocations: 3.152 MB / 0.5332 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4633/0.9238, allocations: 5.48 MB / 0.5385 GB, free: 44.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02535/0.9492, allocations: 8.375 MB / 0.5467 GB, free: 43.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04489/0.9941, allocations: 39.26 MB / 0.585 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.9941, allocations: 0 / 0.585 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.9941, allocations: 0.75 kB / 0.585 GB, free: 27.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001046/0.9951, allocations: 0 / 0.585 GB, free: 27.33 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.06365/1.059, allocations: 22.23 MB / 0.6067 GB, free: 13.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.059, allocations: 6.688 kB / 0.6067 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04291/1.102, allocations: 8.412 MB / 0.615 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/1.128, allocations: 11.87 MB / 0.6265 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001643/1.129, allocations: 1.338 MB / 0.6279 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007092/1.137, allocations: 1.761 MB / 0.6296 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0767/1.213, allocations: 28.97 MB / 0.6579 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008353/1.214, allocations: 11.95 kB / 0.6579 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005705/1.22, allocations: 0.7256 MB / 0.6586 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001034/1.221, allocations: 0.8454 MB / 0.6594 GB, free: 8.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05951/1.28, allocations: 24.72 MB / 0.6835 GB, free: 92 kB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.388/1.668, allocations: 76.05 MB / 0.7578 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02/1.688, allocations: 12.75 MB / 0.7703 GB, free: 117.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007685/1.696, allocations: 5.022 MB / 0.7752 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/1.697, allocations: 112.3 kB / 0.7753 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.071e-05/1.697, allocations: 94.95 kB / 0.7754 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.007e-05/1.697, allocations: 0 / 0.7754 GB, free: 117.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03193/1.729, allocations: 14.63 MB / 0.7896 GB, free: 116.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/1.729, allocations: 138.1 kB / 0.7898 GB, free: 116.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.74, allocations: 6.489 MB / 0.7961 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009522/1.741, allocations: 117.5 kB / 0.7962 GB, free: 115.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003829/1.744, allocations: 7.903 MB / 0.8039 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.747, allocations: 2.105 MB / 0.806 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004298/1.751, allocations: 2.097 MB / 0.8081 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.794e-05/1.751, allocations: 308.6 kB / 0.8083 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005882/1.757, allocations: 4.742 MB / 0.813 GB, free: 109 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00808/1.765, allocations: 9.488 MB / 0.8222 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01534/1.78, allocations: 15.3 MB / 0.8372 GB, free: 89.34 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/1.78, allocations: 44 kB / 0.8372 GB, free: 89.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02373/1.804, allocations: 15.36 MB / 0.8522 GB, free: 74.85 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/1.804, allocations: 72 kB / 0.8523 GB, free: 74.78 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/1.805, allocations: 160 kB / 0.8524 GB, free: 74.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005052/1.81, allocations: 1.657 MB / 0.8541 GB, free: 72.96 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007871/1.818, allocations: 2.354 MB / 0.8564 GB, free: 70.79 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.831, allocations: 11.24 MB / 0.8673 GB, free: 59.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007935/1.839, allocations: 1.366 MB / 0.8687 GB, free: 58.17 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00179/1.84, allocations: 0.5273 MB / 0.8692 GB, free: 57.64 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.01091/1.851, allocations: 7.143 MB / 0.8762 GB, free: 50.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.853, allocations: 0.6248 MB / 0.8768 GB, free: 50.04 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.867, allocations: 10.08 MB / 0.8866 GB, free: 39.88 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009675/1.877, allocations: 7.727 MB / 0.8942 GB, free: 32.11 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/1.877, allocations: 12 kB / 0.8942 GB, free: 32.09 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.975e-05/1.877, allocations: 27.89 kB / 0.8942 GB, free: 32.07 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04007/1.917, allocations: 21.72 MB / 0.9154 GB, free: 10.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/1.917, allocations: 12.03 kB / 0.9154 GB, free: 10.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003643/1.921, allocations: 1.011 MB / 0.9164 GB, free: 9.441 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004574/1.925, allocations: 1.461 MB / 0.9178 GB, free: 7.973 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000619/1.926, allocations: 126.5 kB / 0.918 GB, free: 7.852 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/1.939, allocations: 10.79 MB / 0.9285 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.939, allocations: 15.84 kB / 0.9285 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0224/1.962, allocations: 14.07 MB / 0.9423 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004014/1.966, allocations: 1.42 MB / 0.9436 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/1.967, allocations: 108 kB / 0.9437 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/1.971, allocations: 323.7 kB / 0.9441 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009986/1.972, allocations: 419.8 kB / 0.9445 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005186/1.973, allocations: 168 kB / 0.9446 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008484/1.981, allocations: 4.156 MB / 0.9487 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.981, allocations: 0 / 0.9487 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01224/1.993, allocations: 4.106 MB / 0.9527 GB, free: 3.945 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.001255/1.995, allocations: 343.2 kB / 0.953 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02012/2.015, allocations: 10.92 MB / 0.9637 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/2.015, allocations: 4 kB / 0.9637 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00871/2.023, allocations: 4.335 MB / 0.9679 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00913/2.032, allocations: 1.447 MB / 0.9693 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2793/2.312, allocations: 29.34 MB / 0.998 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02222/2.334, allocations: 10.57 MB / 1.008 GB, free: 205 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00271/2.337, allocations: 0.57 MB / 1.009 GB, free: 205 MB / 0.6075 GB Notification: Performance of SimCode: time 1.393e-06/2.337, allocations: 0 / 1.009 GB, free: 205 MB / 0.6075 GB Notification: Performance of Templates: time 0.5257/2.862, allocations: 287.1 MB / 1.289 GB, free: 161.4 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 20.718918005935848]