Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.001711/0.001711, allocations: 118 kB / 18.46 MB, free: 4.562 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.002074/0.002074, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.457/1.457, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.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_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_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 43.94 kB / 374.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.0999, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1967/0.2966, allocations: 7.817 MB / 435.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.3013, allocations: 2.723 MB / 438 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.3027, allocations: 88.22 kB / 438.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3041, allocations: 0.5934 MB / 438.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.3062, allocations: 0.7526 MB / 439.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000958/0.3071, allocations: 419.4 kB / 439.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.3107, allocations: 3.285 MB / 443.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.3142, allocations: 2.663 MB / 445.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.3179, allocations: 1.7 MB / 447.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.322, allocations: 2.076 MB / 449.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.3231, allocations: 461.3 kB / 450 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.3251, allocations: 0.6723 MB / 450.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.3266, allocations: 1.261 MB / 452 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004141/0.3307, allocations: 1.963 MB / 453.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009344/0.3401, allocations: 6.129 MB / 460.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3401, allocations: 1.125 kB / 460.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3401, allocations: 0 / 460.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002085/0.3403, allocations: 0 / 460.1 MB, free: 10.99 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.01337/0.3537, allocations: 3.89 MB / 464 MB, free: 8.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3537, allocations: 13.59 kB / 464 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.356, allocations: 448.2 kB / 464.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005529/0.3616, allocations: 2.187 MB / 466.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.3618, allocations: 228.5 kB / 466.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.3629, allocations: 280.8 kB / 467.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.3733, allocations: 4.19 MB / 471.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.718e-05/0.3733, allocations: 0 / 471.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003761/0.3737, allocations: 121.5 kB / 471.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.3739, allocations: 141.5 kB / 471.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007541/0.3815, allocations: 3.495 MB / 475 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.4045, allocations: 10.79 MB / 485.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.4077, allocations: 2.562 MB / 488.4 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.4104, allocations: 1.411 MB / 489.8 MB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.4107, allocations: 122.1 kB / 489.9 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.4107, allocations: 47.56 kB / 490 MB, free: 1.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.4107, allocations: 0 / 490 MB, free: 1.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01123/0.4219, allocations: 5.212 MB / 495.2 MB, free: 12.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.422, allocations: 90.42 kB / 495.3 MB, free: 12.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.4254, allocations: 1.914 MB / 497.2 MB, free: 10.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.4257, allocations: 49.7 kB / 497.2 MB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.4268, allocations: 1.361 MB / 498.6 MB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005178/0.4273, allocations: 479.9 kB / 499.1 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.4278, allocations: 271.5 kB / 499.3 MB, free: 7.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4279, allocations: 309 kB / 499.6 MB, free: 7.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.4293, allocations: 0.8198 MB / 0.4887 GB, free: 6.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.4309, allocations: 1.178 MB / 0.4899 GB, free: 5.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/0.434, allocations: 2.082 MB / 0.4919 GB, free: 3.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.434, allocations: 4 kB / 0.4919 GB, free: 3.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004667/0.4387, allocations: 2.524 MB / 0.4944 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4387, allocations: 12 kB / 0.4944 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.4387, allocations: 11.98 kB / 0.4944 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.4406, allocations: 475.1 kB / 0.4949 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.4421, allocations: 335.5 kB / 0.4952 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.448, allocations: 4.4 MB / 0.4995 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.4497, allocations: 87.91 kB / 0.4996 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.4499, allocations: 56 kB / 0.4996 GB, free: 11.28 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.001927/0.4518, allocations: 1.055 MB / 0.5006 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/0.4523, allocations: 206.7 kB / 0.5008 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.4563, allocations: 2.129 MB / 0.5029 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/0.4563, allocations: 16 kB / 0.5029 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4563, allocations: 4 kB / 0.5029 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.4563, allocations: 7.969 kB / 0.5029 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009391/0.4657, allocations: 5.163 MB / 0.508 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4657, allocations: 4.062 kB / 0.508 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4668, allocations: 231.6 kB / 0.5082 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.4686, allocations: 461.9 kB / 0.5086 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.4688, allocations: 31.98 kB / 0.5087 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005679/0.4744, allocations: 4.298 MB / 0.5129 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.4744, allocations: 4.062 kB / 0.5129 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.48, allocations: 3.264 MB / 0.5161 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.4812, allocations: 471.7 kB / 0.5165 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/0.4815, allocations: 28 kB / 0.5165 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.4826, allocations: 91.97 kB / 0.5166 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.4828, allocations: 100.7 kB / 0.5167 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.4829, allocations: 39.98 kB / 0.5168 GB, free: 9.391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002292/0.4852, allocations: 1.342 MB / 0.5181 GB, free: 8.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4852, allocations: 0 / 0.5181 GB, free: 8.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002282/0.4875, allocations: 0.5585 MB / 0.5186 GB, free: 7.496 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.0006637/0.4882, allocations: 219.8 kB / 0.5188 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.4921, allocations: 2.129 MB / 0.5209 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.4921, allocations: 3.938 kB / 0.5209 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.4942, allocations: 1.153 MB / 0.522 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.4973, allocations: 0.5099 MB / 0.5225 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.5081, allocations: 5.778 MB / 0.5282 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.5104, allocations: 2.363 MB / 0.5305 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/0.5111, allocations: 147.3 kB / 0.5306 GB, free: 11.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5111, allocations: 4 kB / 0.5306 GB, free: 11.09 MB / 446.1 MB Notification: Performance of Templates: time 0.07535/0.5865, allocations: 51.45 MB / 0.5809 GB, free: 7.734 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.56794026499847]