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.001917/0.001917, allocations: 86.56 kB / 20.68 MB, free: 1.035 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.002415/0.002415, allocations: 158.6 kB / 23.95 MB, free: 4.168 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.529/1.529, allocations: 177 MB / 204.1 MB, free: 9.164 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 1.853e-06/1.853e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.614e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.05218/0.0522, allocations: 24.54 MB / 349.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02587/0.07807, allocations: 7.031 MB / 356.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007102/0.08517, allocations: 310.4 kB / 356.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05246/0.1376, allocations: 12.94 MB / 369.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.017/0.1546, allocations: 2.67 MB / 372.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.165, allocations: 2.042 MB / 374.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02819/0.1932, allocations: 19.1 MB / 393.6 MB, free: 220 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05912/0.2523, allocations: 28.17 MB / 421.8 MB, free: 3.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02965/0.282, allocations: 15.09 MB / 436.9 MB, free: 4.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02021/0.3022, allocations: 9.762 MB / 446.7 MB, free: 10.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01056/0.3128, allocations: 2.918 MB / 449.6 MB, free: 8.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.3245, allocations: 3.199 MB / 452.8 MB, free: 4.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01093/0.3354, allocations: 5.584 MB / 458.4 MB, free: 15.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0178/0.3532, allocations: 7.237 MB / 465.6 MB, free: 7.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3644/0.7177, allocations: 39.53 MB / 0.4933 GB, free: 60.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.7177, allocations: 1.875 kB / 0.4933 GB, free: 60.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.7177, allocations: 0 / 0.4933 GB, free: 60.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009381/0.7186, allocations: 0 / 0.4933 GB, free: 60.71 MB / 430.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.06921/0.7878, allocations: 22.07 MB / 0.5148 GB, free: 48.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.7879, allocations: 19.62 kB / 0.5149 GB, free: 48.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04713/0.835, allocations: 8.241 MB / 0.5229 GB, free: 44.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02563/0.8606, allocations: 11.88 MB / 0.5345 GB, free: 35.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000995/0.8616, allocations: 1.341 MB / 0.5358 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007719/0.8693, allocations: 1.759 MB / 0.5375 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0725/0.9418, allocations: 29.02 MB / 0.5659 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008055/0.9426, allocations: 17 kB / 0.5659 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006765/0.9494, allocations: 0.731 MB / 0.5666 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006575/0.9501, allocations: 0.8415 MB / 0.5674 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06202/1.012, allocations: 24.76 MB / 0.5916 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3917/1.404, allocations: 76.13 MB / 0.666 GB, free: 129 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.424, allocations: 12.78 MB / 0.6784 GB, free: 128.6 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008253/1.432, allocations: 5.035 MB / 0.6834 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/1.433, allocations: 138.3 kB / 0.6835 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.865e-05/1.433, allocations: 95.69 kB / 0.6836 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=577): time 1.126e-05/1.433, allocations: 4 kB / 0.6836 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of matching and sorting (n=577): time 0.03728/1.47, allocations: 14.69 MB / 0.6979 GB, free: 127.7 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/1.47, allocations: 137.2 kB / 0.6981 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008774/1.479, allocations: 6.489 MB / 0.7044 GB, free: 127 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009089/1.48, allocations: 117.5 kB / 0.7045 GB, free: 127 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003148/1.483, allocations: 7.865 MB / 0.7122 GB, free: 121.1 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.485, allocations: 2.073 MB / 0.7142 GB, free: 119.4 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002636/1.488, allocations: 2.091 MB / 0.7163 GB, free: 118.2 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.727e-05/1.488, allocations: 305.1 kB / 0.7165 GB, free: 117.9 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005791/1.493, allocations: 4.74 MB / 0.7212 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007817/1.501, allocations: 9.517 MB / 0.7305 GB, free: 103.5 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.516, allocations: 15.32 MB / 0.7454 GB, free: 85.89 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/1.517, allocations: 49.2 kB / 0.7455 GB, free: 85.84 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02547/1.542, allocations: 15.4 MB / 0.7605 GB, free: 70.36 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/1.542, allocations: 72 kB / 0.7606 GB, free: 70.29 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/1.542, allocations: 160 kB / 0.7607 GB, free: 70.13 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005232/1.548, allocations: 1.658 MB / 0.7624 GB, free: 68.46 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00813/1.556, allocations: 2.363 MB / 0.7647 GB, free: 66.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/1.569, allocations: 11.25 MB / 0.7756 GB, free: 54.76 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007686/1.577, allocations: 1.347 MB / 0.777 GB, free: 53.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/1.578, allocations: 0.539 MB / 0.7775 GB, free: 52.86 MB / 0.4982 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.01072/1.589, allocations: 7.141 MB / 0.7845 GB, free: 45.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/1.59, allocations: 0.6287 MB / 0.7851 GB, free: 45.07 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.605, allocations: 10.08 MB / 0.7949 GB, free: 34.88 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01205/1.617, allocations: 7.769 MB / 0.8025 GB, free: 27.03 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/1.617, allocations: 12 kB / 0.8025 GB, free: 27.02 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/1.617, allocations: 27.89 kB / 0.8025 GB, free: 26.99 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05652/1.673, allocations: 21.78 MB / 0.8238 GB, free: 5.105 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/1.673, allocations: 8 kB / 0.8238 GB, free: 5.098 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006569/1.68, allocations: 1.014 MB / 0.8248 GB, free: 4.082 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007121/1.687, allocations: 1.462 MB / 0.8262 GB, free: 2.617 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001177/1.688, allocations: 136 kB / 0.8264 GB, free: 2.484 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/1.708, allocations: 10.79 MB / 0.8369 GB, free: 7.598 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/1.708, allocations: 8 kB / 0.8369 GB, free: 7.59 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2551/1.963, allocations: 14.11 MB / 0.8507 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/1.967, allocations: 1.419 MB / 0.8521 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.968, allocations: 114.6 kB / 0.8522 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/1.971, allocations: 312.7 kB / 0.8525 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000926/1.972, allocations: 433.9 kB / 0.8529 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/1.972, allocations: 171.7 kB / 0.8531 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005861/1.978, allocations: 4.157 MB / 0.8571 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/1.978, allocations: 0 / 0.8571 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01016/1.988, allocations: 4.107 MB / 0.8611 GB, free: 156.2 MB / 0.5138 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.0009049/1.989, allocations: 327.8 kB / 0.8614 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01454/2.004, allocations: 10.95 MB / 0.8721 GB, free: 154 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/2.004, allocations: 3.906 kB / 0.8721 GB, free: 154 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005517/2.009, allocations: 4.349 MB / 0.8764 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007149/2.016, allocations: 1.453 MB / 0.8778 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04902/2.065, allocations: 29.73 MB / 0.9068 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01571/2.081, allocations: 10.93 MB / 0.9175 GB, free: 120.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009481/2.09, allocations: 3.852 MB / 0.9213 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/2.093, allocations: 0.5455 MB / 0.9218 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.012e-06/2.093, allocations: 0 / 0.9218 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.1505/2.243, allocations: 90.46 MB / 1.01 GB, free: 28.13 MB / 0.5138 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 -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/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_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.910197082906961]