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.0007709/0.0007709, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003121/0.003121, allocations: 160 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8537/0.8537, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.532e-06/1.532e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.738e-05, allocations: 4.953 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005601/0.005618, allocations: 6.928 MB / 332.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.008402, allocations: 2.613 MB / 335.4 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.008805, allocations: 91.38 kB / 335.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.009614, allocations: 0.5742 MB / 336 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.01081, allocations: 0.7878 MB / 336.8 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.01126, allocations: 431.2 kB / 337.2 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.01305, allocations: 3.411 MB / 340.7 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.01455, allocations: 1.953 MB / 342.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.01674, allocations: 2.481 MB / 345.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.01814, allocations: 1.828 MB / 346.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.01847, allocations: 464 kB / 347.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006105/0.01908, allocations: 0.6557 MB / 348 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006805/0.01976, allocations: 1.286 MB / 349.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008159/0.02058, allocations: 1.357 MB / 350.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.02411, allocations: 6.213 MB / 356.9 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.02411, allocations: 0 / 356.9 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02411, allocations: 0 / 356.9 MB, free: 244 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.02414, allocations: 0 / 356.9 MB, free: 244 kB / 314.7 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.003779/0.02792, allocations: 3.778 MB / 360.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.02795, allocations: 8.031 kB / 360.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/0.02864, allocations: 454.4 kB / 361.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.03083, allocations: 2.122 MB / 363.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.03093, allocations: 222.1 kB / 363.5 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.03119, allocations: 284.4 kB / 363.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004127/0.03531, allocations: 4.442 MB / 368.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.03535, allocations: 4 kB / 368.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.03553, allocations: 120 kB / 368.3 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.466e-05/0.03563, allocations: 141.9 kB / 368.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.03898, allocations: 3.482 MB / 371.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009064/0.04805, allocations: 9.254 MB / 381.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.04963, allocations: 1.636 MB / 382.8 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.05112, allocations: 1.404 MB / 384.2 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.0513, allocations: 41.08 kB / 384.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.05133, allocations: 55.44 kB / 384.3 MB, free: 4.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.535e-06/0.05133, allocations: 0 / 384.3 MB, free: 4.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.005757/0.05709, allocations: 5.125 MB / 389.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.05714, allocations: 90.42 kB / 389.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.05862, allocations: 1.722 MB / 391.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.05869, allocations: 49.7 kB / 391.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/0.05928, allocations: 1.364 MB / 392.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.0595, allocations: 475.9 kB / 393.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.05976, allocations: 267.5 kB / 393.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.05983, allocations: 309.1 kB / 393.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.06086, allocations: 0.8159 MB / 394.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/0.0618, allocations: 1.212 MB / 395.7 MB, free: 8.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.06352, allocations: 2.071 MB / 397.8 MB, free: 6.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.06352, allocations: 8 kB / 397.8 MB, free: 6.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002426/0.06595, allocations: 2.508 MB / 400.3 MB, free: 4.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.06597, allocations: 12.19 kB / 400.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.06598, allocations: 12 kB / 400.3 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009136/0.0669, allocations: 474.9 kB / 400.8 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/0.06782, allocations: 331.5 kB / 401.1 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.0711, allocations: 4.219 MB / 405.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.07166, allocations: 83.91 kB / 405.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.07175, allocations: 63.98 kB / 405.5 MB, free: 14.75 MB / 378.7 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.001168/0.07291, allocations: 1.048 MB / 406.5 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.07312, allocations: 186.8 kB / 406.7 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.07545, allocations: 2.124 MB / 408.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.07547, allocations: 16 kB / 408.8 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.07547, allocations: 4 kB / 408.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.07548, allocations: 3.984 kB / 408.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004452/0.07993, allocations: 4.487 MB / 413.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.07994, allocations: 4 kB / 413.3 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.08042, allocations: 231.6 kB / 413.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/0.08124, allocations: 448.4 kB / 414 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.08129, allocations: 35.98 kB / 414 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.08458, allocations: 4.115 MB / 418.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.08458, allocations: 0 / 418.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.08742, allocations: 3.228 MB / 421.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/0.08788, allocations: 370.7 kB / 421.7 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.08799, allocations: 27.94 kB / 421.8 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.08846, allocations: 104 kB / 421.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.08859, allocations: 96.75 kB / 422 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.08865, allocations: 43.98 kB / 422 MB, free: 13.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001306/0.08996, allocations: 1.193 MB / 423.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08996, allocations: 0 / 423.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001041/0.091, allocations: 0.5468 MB / 423.7 MB, free: 12.21 MB / 394.7 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.0004145/0.09141, allocations: 229.1 kB / 424 MB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.09348, allocations: 2.121 MB / 426.1 MB, free: 9.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.09348, allocations: 7.938 kB / 426.1 MB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.09454, allocations: 1.153 MB / 427.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.09555, allocations: 400.7 kB / 427.6 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.1015, allocations: 5.711 MB / 433.4 MB, free: 2.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.1027, allocations: 1.811 MB / 435.2 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.103, allocations: 136.5 kB / 435.3 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.103, allocations: 0 / 435.3 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of Templates: time 0.1786/0.2816, allocations: 50.74 MB / 486 MB, free: 87.62 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 7.667993067763746]