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.001685/0.001685, allocations: 117 kB / 18.41 MB, free: 4.688 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.002129/0.002129, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.427/1.427, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.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.00154/0.00154, allocations: 55.91 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09187, allocations: 49.43 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2197/0.3116, allocations: 28.61 MB / 436.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.3253, allocations: 7.118 MB / 443.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006193/0.3315, allocations: 262.6 kB / 444.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02752/0.359, allocations: 13.1 MB / 457.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.3719, allocations: 2.687 MB / 459.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007665/0.3796, allocations: 1.856 MB / 461.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02677/0.4064, allocations: 18.11 MB / 479.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07734/0.4838, allocations: 44.45 MB / 0.512 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01726/0.5011, allocations: 9.937 MB / 0.5217 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01879/0.5199, allocations: 11.05 MB / 0.5325 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007878/0.5278, allocations: 2.918 MB / 0.5353 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.5392, allocations: 3.168 MB / 0.5384 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01002/0.5493, allocations: 5.48 MB / 0.5438 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02117/0.5705, allocations: 10.82 MB / 0.5544 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04818/0.6187, allocations: 39.08 MB / 0.5925 GB, free: 4.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6188, allocations: 0 / 0.5925 GB, free: 4.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.6188, allocations: 0 / 0.5925 GB, free: 4.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000954/0.6197, allocations: 3.938 kB / 0.5925 GB, free: 4.398 MB / 494.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.4306/1.05, allocations: 22.3 MB / 0.6143 GB, free: 131.4 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.05, allocations: 11.83 kB / 0.6143 GB, free: 131.4 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04419/1.095, allocations: 8.412 MB / 0.6225 GB, free: 130.5 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/1.116, allocations: 11.65 MB / 0.6339 GB, free: 127.7 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/1.117, allocations: 1.346 MB / 0.6352 GB, free: 127.1 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006293/1.123, allocations: 1.753 MB / 0.6369 GB, free: 126.5 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06193/1.185, allocations: 28.72 MB / 0.665 GB, free: 105.5 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005519/1.185, allocations: 19.89 kB / 0.665 GB, free: 105.5 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004536/1.19, allocations: 0.7296 MB / 0.6657 GB, free: 104.8 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005467/1.191, allocations: 0.8454 MB / 0.6665 GB, free: 103.9 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04278/1.233, allocations: 24.78 MB / 0.6907 GB, free: 79.12 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1252/1.359, allocations: 87.13 MB / 0.7758 GB, free: 7.352 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03844/1.397, allocations: 35.12 MB / 0.8101 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01112/1.408, allocations: 5.433 MB / 0.8154 GB, free: 11.49 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000815/1.409, allocations: 205.5 kB / 0.8156 GB, free: 11.27 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/1.409, allocations: 95.08 kB / 0.8157 GB, free: 11.16 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.029e-05/1.409, allocations: 0 / 0.8157 GB, free: 11.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.4334/1.843, allocations: 14.75 MB / 0.8301 GB, free: 178.8 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.843, allocations: 136.2 kB / 0.8302 GB, free: 178.7 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/1.857, allocations: 6.423 MB / 0.8365 GB, free: 178.4 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/1.859, allocations: 118.2 kB / 0.8366 GB, free: 178.4 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.006315/1.865, allocations: 7.899 MB / 0.8443 GB, free: 175.5 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/1.868, allocations: 2.111 MB / 0.8464 GB, free: 174 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004048/1.872, allocations: 2.095 MB / 0.8485 GB, free: 173 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/1.872, allocations: 306.2 kB / 0.8487 GB, free: 172.7 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007172/1.879, allocations: 4.737 MB / 0.8534 GB, free: 171 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.889, allocations: 9.47 MB / 0.8626 GB, free: 163.1 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/1.905, allocations: 15.3 MB / 0.8776 GB, free: 151.9 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/1.905, allocations: 47.59 kB / 0.8776 GB, free: 151.9 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02542/1.931, allocations: 15.41 MB / 0.8927 GB, free: 145.7 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.931, allocations: 76.47 kB / 0.8927 GB, free: 145.7 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002405/1.931, allocations: 159.4 kB / 0.8929 GB, free: 145.7 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0055/1.937, allocations: 1.656 MB / 0.8945 GB, free: 145.4 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007439/1.944, allocations: 2.351 MB / 0.8968 GB, free: 145.1 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.957, allocations: 11.62 MB / 0.9081 GB, free: 135.6 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007791/1.965, allocations: 1.381 MB / 0.9095 GB, free: 134.3 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.967, allocations: 0.5312 MB / 0.91 GB, free: 133.8 MB / 0.5608 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.01102/1.978, allocations: 7.142 MB / 0.917 GB, free: 127.3 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.979, allocations: 0.6442 MB / 0.9176 GB, free: 126.7 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.992, allocations: 10.11 MB / 0.9275 GB, free: 116.4 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009296/2.002, allocations: 7.765 MB / 0.9351 GB, free: 108.6 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/2.002, allocations: 12 kB / 0.9351 GB, free: 108.6 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-05/2.002, allocations: 27.89 kB / 0.9351 GB, free: 108.6 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03731/2.039, allocations: 25.45 MB / 0.96 GB, free: 82.93 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/2.039, allocations: 16.38 kB / 0.96 GB, free: 82.91 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003906/2.043, allocations: 1.01 MB / 0.961 GB, free: 81.9 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004796/2.048, allocations: 1.465 MB / 0.9624 GB, free: 80.43 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008579/2.049, allocations: 124 kB / 0.9625 GB, free: 80.31 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/2.061, allocations: 11.16 MB / 0.9734 GB, free: 69.02 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/2.061, allocations: 11.94 kB / 0.9734 GB, free: 69.01 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/2.078, allocations: 14.12 MB / 0.9872 GB, free: 54.54 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/2.081, allocations: 1.468 MB / 0.9886 GB, free: 53.05 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/2.082, allocations: 112 kB / 0.9887 GB, free: 52.94 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/2.085, allocations: 323.7 kB / 0.9891 GB, free: 52.62 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006679/2.086, allocations: 400.4 kB / 0.9894 GB, free: 52.23 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/2.086, allocations: 164 kB / 0.9896 GB, free: 52.07 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.005099/2.091, allocations: 4.309 MB / 0.9938 GB, free: 47.79 MB / 0.5608 GB Notification: Performance of sort global known variables: time 5.21e-07/2.091, allocations: 0 / 0.9938 GB, free: 47.79 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.00918/2.1, allocations: 4.091 MB / 0.9978 GB, free: 43.68 MB / 0.5608 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.001004/2.101, allocations: 337.2 kB / 0.9981 GB, free: 43.36 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.0144/2.116, allocations: 11.37 MB / 1.009 GB, free: 31.95 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.116, allocations: 4 kB / 1.009 GB, free: 31.94 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.006137/2.122, allocations: 4.641 MB / 1.014 GB, free: 27.29 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007348/2.129, allocations: 1.56 MB / 1.015 GB, free: 25.77 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2513/2.381, allocations: 29.1 MB / 1.044 GB, free: 160.2 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01601/2.397, allocations: 10.9 MB / 1.054 GB, free: 159.1 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002588/2.399, allocations: 0.5781 MB / 1.055 GB, free: 159.1 MB / 0.5608 GB Notification: Performance of SimCode: time 7.11e-07/2.399, allocations: 4 kB / 1.055 GB, free: 159.1 MB / 0.5608 GB Notification: Performance of Templates: time 0.5039/2.903, allocations: 282.3 MB / 1.331 GB, free: 124.4 MB / 0.5764 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.98508244403638]