Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001768/0.001768, allocations: 120.5 kB / 21.94 MB, free: 4 kB / 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.00207/0.00207, allocations: 208.7 kB / 25.24 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 51.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2498, allocations: 49.15 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007372/0.2572, allocations: 7.785 MB / 405.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.2619, allocations: 2.759 MB / 408.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.2629, allocations: 77 kB / 408.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.2642, allocations: 0.5912 MB / 408.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.266, allocations: 0.7709 MB / 409.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/0.2669, allocations: 449.8 kB / 410 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003675/0.2705, allocations: 3.411 MB / 413.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.2732, allocations: 1.908 MB / 415.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.2766, allocations: 1.694 MB / 417 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.2806, allocations: 2.069 MB / 419.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009909/0.2816, allocations: 461.7 kB / 419.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.2834, allocations: 0.7556 MB / 420.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.2847, allocations: 1.257 MB / 421.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.2879, allocations: 1.968 MB / 423.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007594/0.2955, allocations: 6.11 MB / 429.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2955, allocations: 4 kB / 429.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2955, allocations: 0 / 429.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001312/0.2956, allocations: 0 / 429.7 MB, free: 3.203 MB / 334.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.008107/0.3037, allocations: 3.789 MB / 433.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3038, allocations: 8.031 kB / 433.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.3048, allocations: 410.6 kB / 433.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.3085, allocations: 1.912 MB / 435.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.3087, allocations: 221.8 kB / 436 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004485/0.3092, allocations: 291.9 kB / 436.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007403/0.3166, allocations: 4.187 MB / 440.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/0.3166, allocations: 4 kB / 440.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.3169, allocations: 116 kB / 440.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.3171, allocations: 141.9 kB / 440.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006296/0.3234, allocations: 3.482 MB / 444.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.3441, allocations: 10.69 MB / 454.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.3469, allocations: 1.644 MB / 456.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.3495, allocations: 1.407 MB / 457.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.3497, allocations: 52.89 kB / 458 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.3498, allocations: 51.56 kB / 458 MB, free: 6.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.637e-06/0.3498, allocations: 0 / 458 MB, free: 6.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01018/0.36, allocations: 5.164 MB / 463.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.3601, allocations: 90.42 kB / 463.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.3634, allocations: 1.91 MB / 465.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.3635, allocations: 53.69 kB / 465.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.3646, allocations: 1.349 MB / 466.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.3651, allocations: 479.9 kB / 467.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005104/0.3656, allocations: 275.5 kB / 467.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3658, allocations: 305.1 kB / 467.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3672, allocations: 0.8198 MB / 468.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.3688, allocations: 1.187 MB / 469.6 MB, free: 10.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.3719, allocations: 2.091 MB / 471.7 MB, free: 8.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.3719, allocations: 4 kB / 471.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004551/0.3765, allocations: 2.524 MB / 474.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.3765, allocations: 15.91 kB / 474.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.3765, allocations: 8 kB / 474.3 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.3786, allocations: 486.4 kB / 474.8 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.3799, allocations: 331.5 kB / 475.1 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006012/0.3859, allocations: 4.304 MB / 479.4 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3873, allocations: 83.88 kB / 479.5 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/0.3875, allocations: 63.97 kB / 479.5 MB, free: 448 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.001843/0.3893, allocations: 1.052 MB / 480.6 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/0.3899, allocations: 198.8 kB / 480.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.3939, allocations: 2.125 MB / 482.9 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/0.3939, allocations: 16 kB / 482.9 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.3939, allocations: 4 kB / 482.9 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.3939, allocations: 11.97 kB / 482.9 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.4044, allocations: 5.157 MB / 488.1 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4044, allocations: 4 kB / 488.1 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4054, allocations: 223.7 kB / 488.3 MB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.4074, allocations: 469.1 kB / 488.8 MB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4075, allocations: 35.98 kB / 488.8 MB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005836/0.4133, allocations: 4.187 MB / 493 MB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4133, allocations: 4.031 kB / 493 MB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/0.4189, allocations: 3.256 MB / 496.3 MB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.4201, allocations: 390.7 kB / 496.6 MB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/0.4206, allocations: 31.98 kB / 496.7 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.4218, allocations: 91.97 kB / 496.8 MB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.422, allocations: 108.6 kB / 496.9 MB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.4222, allocations: 36 kB / 496.9 MB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002496/0.4247, allocations: 1.342 MB / 498.2 MB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4247, allocations: 0 / 498.2 MB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002009/0.4267, allocations: 0.5584 MB / 498.8 MB, free: 12.9 MB / 414.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.0006937/0.4274, allocations: 210.8 kB / 499 MB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004066/0.4314, allocations: 2.126 MB / 0.4894 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.4314, allocations: 7.938 kB / 0.4894 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.4336, allocations: 1.168 MB / 0.4905 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.4365, allocations: 0.5205 MB / 0.491 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.4492, allocations: 5.842 MB / 0.4968 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/0.4524, allocations: 2.366 MB / 0.4991 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008054/0.4532, allocations: 143.4 kB / 0.4992 GB, free: 392 kB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4532, allocations: 0 / 0.4992 GB, free: 392 kB / 414.1 MB Notification: Performance of Templates: time 0.07752/0.5307, allocations: 51.4 MB / 0.5494 GB, free: 12.86 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.947889509843662]