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.001376/0.001376, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002379/0.002379, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.635/1.635, 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.001563/0.001563, allocations: 43.92 kB / 378.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2246, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03114/0.2557, allocations: 24.5 MB / 456.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.2763, allocations: 7.029 MB / 463.1 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005976/0.2823, allocations: 310.4 kB / 463.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0301/0.3124, allocations: 12.21 MB / 475.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.3228, allocations: 2.625 MB / 478.3 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007233/0.33, allocations: 2.046 MB / 480.3 MB, free: 5.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02767/0.3577, allocations: 18.55 MB / 498.9 MB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05552/0.4132, allocations: 28.38 MB / 0.5149 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0178/0.431, allocations: 10.16 MB / 0.5248 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01891/0.4499, allocations: 11.14 MB / 0.5357 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.427/0.8769, allocations: 2.92 MB / 0.5385 GB, free: 39.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008457/0.8854, allocations: 3.195 MB / 0.5416 GB, free: 39.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008272/0.8937, allocations: 5.488 MB / 0.547 GB, free: 39.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01858/0.9122, allocations: 8.371 MB / 0.5552 GB, free: 38.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03273/0.945, allocations: 39.28 MB / 0.5935 GB, free: 19.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.945, allocations: 0.7812 kB / 0.5935 GB, free: 19.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.945, allocations: 0 / 0.5935 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008793/0.9459, allocations: 0 / 0.5935 GB, free: 19.59 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.0623/1.008, allocations: 22.24 MB / 0.6153 GB, free: 2.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.008, allocations: 12.03 kB / 0.6153 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04469/1.053, allocations: 8.243 MB / 0.6233 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02945/1.082, allocations: 11.88 MB / 0.6349 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001613/1.084, allocations: 1.345 MB / 0.6362 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007843/1.092, allocations: 1.76 MB / 0.6379 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07594/1.168, allocations: 29.02 MB / 0.6663 GB, free: 14.8 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007595/1.169, allocations: 18.53 kB / 0.6663 GB, free: 14.78 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005945/1.174, allocations: 0.7229 MB / 0.667 GB, free: 14.07 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009818/1.175, allocations: 0.8454 MB / 0.6678 GB, free: 13.22 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05936/1.235, allocations: 24.76 MB / 0.692 GB, free: 4.438 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4557/1.691, allocations: 76.1 MB / 0.7663 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/1.712, allocations: 12.79 MB / 0.7788 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008319/1.72, allocations: 5.036 MB / 0.7837 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/1.72, allocations: 143.9 kB / 0.7839 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/1.721, allocations: 90.33 kB / 0.784 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.037e-06/1.721, allocations: 7.812 kB / 0.784 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03291/1.753, allocations: 14.66 MB / 0.7983 GB, free: 137.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/1.753, allocations: 146.2 kB / 0.7984 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.765, allocations: 6.488 MB / 0.8048 GB, free: 135.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00164/1.767, allocations: 115.1 kB / 0.8049 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005043/1.772, allocations: 7.902 MB / 0.8126 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002737/1.775, allocations: 2.109 MB / 0.8146 GB, free: 127.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00336/1.778, allocations: 2.114 MB / 0.8167 GB, free: 126.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/1.778, allocations: 304.7 kB / 0.817 GB, free: 125.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006473/1.785, allocations: 4.749 MB / 0.8216 GB, free: 123.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/1.795, allocations: 9.495 MB / 0.8309 GB, free: 114.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/1.811, allocations: 15.33 MB / 0.8459 GB, free: 97.52 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/1.812, allocations: 51.94 kB / 0.8459 GB, free: 97.47 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02467/1.836, allocations: 15.39 MB / 0.861 GB, free: 82 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.836, allocations: 76 kB / 0.861 GB, free: 81.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002135/1.837, allocations: 159.9 kB / 0.8612 GB, free: 81.77 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005495/1.842, allocations: 1.657 MB / 0.8628 GB, free: 80.11 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00818/1.85, allocations: 2.363 MB / 0.8651 GB, free: 77.74 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.863, allocations: 11.24 MB / 0.8761 GB, free: 66.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007687/1.871, allocations: 1.358 MB / 0.8774 GB, free: 65.04 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/1.872, allocations: 0.539 MB / 0.8779 GB, free: 64.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.01212/1.885, allocations: 7.144 MB / 0.8849 GB, free: 57.34 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00177/1.886, allocations: 0.6248 MB / 0.8855 GB, free: 56.71 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/1.902, allocations: 10.07 MB / 0.8954 GB, free: 46.52 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01014/1.912, allocations: 7.765 MB / 0.903 GB, free: 38.68 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/1.913, allocations: 12 kB / 0.903 GB, free: 38.66 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/1.913, allocations: 31.83 kB / 0.903 GB, free: 38.63 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04489/1.957, allocations: 21.78 MB / 0.9243 GB, free: 16.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/1.957, allocations: 8 kB / 0.9243 GB, free: 16.73 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004335/1.962, allocations: 1.014 MB / 0.9253 GB, free: 15.71 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00516/1.967, allocations: 1.458 MB / 0.9267 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/1.968, allocations: 136 kB / 0.9268 GB, free: 14.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.982, allocations: 10.8 MB / 0.9374 GB, free: 3.219 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.982, allocations: 11.94 kB / 0.9374 GB, free: 3.207 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/2.007, allocations: 14.12 MB / 0.9512 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005131/2.012, allocations: 1.42 MB / 0.9526 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002022/2.014, allocations: 116 kB / 0.9527 GB, free: 3.195 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00412/2.018, allocations: 311.8 kB / 0.953 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/2.02, allocations: 428.2 kB / 0.9534 GB, free: 2.469 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008222/2.02, allocations: 180 kB / 0.9535 GB, free: 2.293 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009572/2.03, allocations: 4.152 MB / 0.9576 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.41e-07/2.03, allocations: 4 kB / 0.9576 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01553/2.046, allocations: 4.106 MB / 0.9616 GB, free: 10.04 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.002277/2.048, allocations: 319.4 kB / 0.9619 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2579/2.306, allocations: 10.96 MB / 0.9726 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/2.306, allocations: 2.469 kB / 0.9726 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007492/2.313, allocations: 4.347 MB / 0.9769 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/2.32, allocations: 1.45 MB / 0.9783 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05096/2.371, allocations: 29.79 MB / 1.007 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01683/2.388, allocations: 10.93 MB / 1.018 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01462/2.402, allocations: 3.855 MB / 1.022 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002702/2.405, allocations: 0.5439 MB / 1.022 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/2.405, allocations: 0 / 1.022 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1652/2.57, allocations: 107 MB / 1.127 GB, free: 72.57 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: 10.222549370024353]