Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.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.00145/0.00145, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001642/0.001642, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.387/1.387, allocations: 230.4 MB / 255.4 MB, free: 15 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-beta.om/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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 67.88 kB / 374.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.1005, allocations: 53.32 MB / 428.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1918/0.2923, allocations: 7.81 MB / 435.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.2966, allocations: 2.721 MB / 438.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.2977, allocations: 69.38 kB / 438.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.2989, allocations: 0.5925 MB / 439.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.3009, allocations: 0.7564 MB / 440 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.3017, allocations: 420.3 kB / 440.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.305, allocations: 3.285 MB / 443.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/0.3081, allocations: 2.659 MB / 446.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.3114, allocations: 1.678 MB / 448 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.3146, allocations: 2.071 MB / 450.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009643/0.3155, allocations: 465.3 kB / 450.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.3173, allocations: 0.6742 MB / 451.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.3185, allocations: 1.257 MB / 452.5 MB, free: 32 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003368/0.3218, allocations: 1.968 MB / 454.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00779/0.3296, allocations: 6.122 MB / 460.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3296, allocations: 1.781 kB / 460.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3296, allocations: 0 / 460.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001493/0.3298, allocations: 0 / 460.6 MB, free: 11.1 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009143/0.3389, allocations: 3.886 MB / 464.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.339, allocations: 13.03 kB / 464.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.3406, allocations: 447.9 kB / 464.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/0.3444, allocations: 2.195 MB / 467.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3446, allocations: 224 kB / 467.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.345, allocations: 291.9 kB / 467.6 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007183/0.3522, allocations: 4.188 MB / 471.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.3523, allocations: 0 / 471.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.3526, allocations: 117.7 kB / 471.9 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.3527, allocations: 141.5 kB / 472.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005953/0.3587, allocations: 3.497 MB / 475.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.3767, allocations: 10.78 MB / 486.4 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.3796, allocations: 2.553 MB / 488.9 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.3821, allocations: 1.419 MB / 490.3 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.3824, allocations: 126.1 kB / 490.4 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.3824, allocations: 51.55 kB / 490.5 MB, free: 1.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.905e-06/0.3824, allocations: 0 / 490.5 MB, free: 1.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009664/0.3921, allocations: 5.2 MB / 495.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.3922, allocations: 94.53 kB / 495.8 MB, free: 12.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.395, allocations: 1.922 MB / 497.7 MB, free: 10.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3951, allocations: 49.7 kB / 497.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.3961, allocations: 1.361 MB / 499.1 MB, free: 8.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.3965, allocations: 475.9 kB / 499.6 MB, free: 8.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.397, allocations: 275.5 kB / 499.9 MB, free: 8.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3971, allocations: 305.1 kB / 0.4884 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.3984, allocations: 0.8159 MB / 0.4892 GB, free: 7.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4, allocations: 1.182 MB / 0.4904 GB, free: 5.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.4029, allocations: 2.087 MB / 0.4924 GB, free: 3.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4029, allocations: 4 kB / 0.4924 GB, free: 3.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004267/0.4072, allocations: 2.516 MB / 0.4949 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4072, allocations: 8 kB / 0.4949 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.4072, allocations: 15.98 kB / 0.4949 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.409, allocations: 483 kB / 0.4954 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.4103, allocations: 323.5 kB / 0.4957 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.416, allocations: 4.413 MB / 0.5 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.4174, allocations: 79.92 kB / 0.5001 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.4176, allocations: 60 kB / 0.5001 GB, free: 11.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001808/0.4194, allocations: 1.056 MB / 0.5011 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/0.4198, allocations: 206.7 kB / 0.5013 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.4236, allocations: 2.141 MB / 0.5034 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.4236, allocations: 19.89 kB / 0.5035 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4236, allocations: 4 kB / 0.5035 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.4236, allocations: 7.969 kB / 0.5035 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008849/0.4325, allocations: 5.155 MB / 0.5085 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4325, allocations: 0 / 0.5085 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.4335, allocations: 235.9 kB / 0.5087 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.4353, allocations: 452.3 kB / 0.5092 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4354, allocations: 35.97 kB / 0.5092 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/0.4409, allocations: 4.306 MB / 0.5134 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.4409, allocations: 7.875 kB / 0.5134 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/0.4462, allocations: 3.256 MB / 0.5166 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4472, allocations: 463.7 kB / 0.517 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.4474, allocations: 31.94 kB / 0.5171 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4485, allocations: 95.89 kB / 0.5171 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.4487, allocations: 100.9 kB / 0.5172 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/0.4488, allocations: 39.98 kB / 0.5173 GB, free: 9.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002087/0.4509, allocations: 1.342 MB / 0.5186 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4509, allocations: 0 / 0.5186 GB, free: 8.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001978/0.4528, allocations: 0.5468 MB / 0.5191 GB, free: 7.641 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005889/0.4534, allocations: 236.9 kB / 0.5194 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003611/0.457, allocations: 2.126 MB / 0.5214 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4571, allocations: 3.938 kB / 0.5214 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.459, allocations: 1.153 MB / 0.5226 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.4614, allocations: 0.4983 MB / 0.523 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009784/0.4712, allocations: 5.787 MB / 0.5287 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/0.4734, allocations: 2.367 MB / 0.531 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/0.4741, allocations: 143.4 kB / 0.5311 GB, free: 11.23 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4741, allocations: 0 / 0.5311 GB, free: 11.23 MB / 446.1 MB Notification: Performance of Templates: time 0.06764/0.5417, allocations: 51.44 MB / 0.5814 GB, free: 7.879 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.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: 12.958538257982582]