Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.001681/0.001681, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.002088/0.002088, allocations: 187.1 kB / 23.7 MB, free: 4.188 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.433/1.433, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 43.92 kB / 370.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.234, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009462/0.2435, allocations: 6.913 MB / 430 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005225/0.2487, allocations: 2.531 MB / 432.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009997/0.2497, allocations: 91.31 kB / 432.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.2511, allocations: 0.5665 MB / 433.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.2531, allocations: 0.7731 MB / 433.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009101/0.2541, allocations: 423.5 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003864/0.2579, allocations: 3.284 MB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.2607, allocations: 1.945 MB / 439.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.2638, allocations: 1.695 MB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/0.2672, allocations: 2.02 MB / 443.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007475/0.268, allocations: 467.9 kB / 443.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.2693, allocations: 0.6596 MB / 444.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.2706, allocations: 1.255 MB / 445.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.2724, allocations: 1.591 MB / 447.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006239/0.2786, allocations: 6.139 MB / 453.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2786, allocations: 0 / 453.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2786, allocations: 0 / 453.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.829e-05/0.2787, allocations: 4 kB / 453.4 MB, free: 15.96 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.007586/0.2863, allocations: 3.801 MB / 457.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2864, allocations: 12.03 kB / 457.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009826/0.2874, allocations: 410.6 kB / 457.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.2915, allocations: 2.111 MB / 459.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.2917, allocations: 217.8 kB / 459.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/0.2922, allocations: 284 kB / 460.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007539/0.2997, allocations: 4.442 MB / 464.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-05/0.2998, allocations: 0 / 464.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.3001, allocations: 116 kB / 464.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/0.3003, allocations: 141.9 kB / 464.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006051/0.3063, allocations: 3.493 MB / 468.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.3246, allocations: 9.224 MB / 477.6 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.3272, allocations: 1.64 MB / 479.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.3298, allocations: 1.411 MB / 480.7 MB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.33, allocations: 44.91 kB / 480.7 MB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.773e-05/0.3301, allocations: 51.56 kB / 480.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.248e-06/0.3301, allocations: 0 / 480.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009608/0.3397, allocations: 5.113 MB / 485.9 MB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.3398, allocations: 94.42 kB / 486 MB, free: 14.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.3426, allocations: 1.721 MB / 487.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.3427, allocations: 45.7 kB / 487.8 MB, free: 13.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.3437, allocations: 1.368 MB / 489.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.3442, allocations: 479.9 kB / 489.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004608/0.3446, allocations: 267.5 kB / 489.8 MB, free: 11.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3448, allocations: 305.1 kB / 490.1 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3461, allocations: 0.8159 MB / 491 MB, free: 9.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.3478, allocations: 1.204 MB / 492.2 MB, free: 8.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.3508, allocations: 2.082 MB / 494.2 MB, free: 6.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.3508, allocations: 7.938 kB / 494.3 MB, free: 6.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004483/0.3553, allocations: 2.512 MB / 496.8 MB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3553, allocations: 8 kB / 496.8 MB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.3554, allocations: 15.94 kB / 496.8 MB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.3573, allocations: 476.2 kB / 497.3 MB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3586, allocations: 331.5 kB / 497.6 MB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005726/0.3643, allocations: 4.219 MB / 0.49 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3655, allocations: 83.78 kB / 0.4901 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.3657, allocations: 64.06 kB / 0.4902 GB, free: 14.54 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.001828/0.3675, allocations: 1.051 MB / 0.4912 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005566/0.3681, allocations: 182.9 kB / 0.4914 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.3722, allocations: 2.116 MB / 0.4934 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/0.3723, allocations: 16 kB / 0.4935 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.3723, allocations: 4 kB / 0.4935 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.3723, allocations: 7.969 kB / 0.4935 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009263/0.3816, allocations: 4.483 MB / 0.4979 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3816, allocations: 0 / 0.4979 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.3826, allocations: 223.7 kB / 0.4981 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.3843, allocations: 453 kB / 0.4985 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.3844, allocations: 39.92 kB / 0.4985 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005528/0.39, allocations: 4.111 MB / 0.5025 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.39, allocations: 7.938 kB / 0.5026 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.3954, allocations: 3.244 MB / 0.5057 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.3966, allocations: 370.7 kB / 0.5061 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/0.3969, allocations: 27.98 kB / 0.5061 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.398, allocations: 91.91 kB / 0.5062 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.3982, allocations: 100.9 kB / 0.5063 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.3983, allocations: 47.92 kB / 0.5063 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001961/0.4003, allocations: 1.182 MB / 0.5075 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4003, allocations: 4 kB / 0.5075 GB, free: 12.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001888/0.4022, allocations: 0.5506 MB / 0.508 GB, free: 12 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.0006385/0.4028, allocations: 235.2 kB / 0.5083 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003769/0.4066, allocations: 2.114 MB / 0.5103 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4066, allocations: 0 / 0.5103 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.4086, allocations: 1.152 MB / 0.5114 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.4107, allocations: 413.2 kB / 0.5118 GB, free: 8.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.4214, allocations: 5.801 MB / 0.5175 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/0.424, allocations: 1.868 MB / 0.5193 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001433/0.4255, allocations: 477.9 kB / 0.5198 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/0.4259, allocations: 119.3 kB / 0.5199 GB, free: 15.72 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4259, allocations: 0 / 0.5199 GB, free: 15.72 MB / 446.1 MB Notification: Performance of Templates: time 0.2448/0.6707, allocations: 30.96 MB / 0.5501 GB, free: 101.1 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.653160646557808]