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.001824/0.001824, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001906/0.001906, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 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 2.013e-06/2.013e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.433e-05, allocations: 6.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01681/0.01684, allocations: 7.596 MB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008403/0.02524, allocations: 2.683 MB / 282.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.02692, allocations: 91.38 kB / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.0292, allocations: 0.5819 MB / 283.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.03298, allocations: 0.7879 MB / 284.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.0347, allocations: 435.2 kB / 284.5 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007107/0.0418, allocations: 3.4 MB / 287.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005694/0.0475, allocations: 1.961 MB / 289.9 MB, free: 204 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1702/0.2177, allocations: 2.519 MB / 292.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006447/0.2242, allocations: 2.005 MB / 294.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002515/0.2267, allocations: 461.5 kB / 294.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.2304, allocations: 0.66 MB / 295.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002551/0.2329, allocations: 1.307 MB / 296.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005441/0.2384, allocations: 1.379 MB / 298.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007912/0.2463, allocations: 6.251 MB / 304.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.2463, allocations: 2 kB / 304.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2463, allocations: 0 / 304.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000224/0.2465, allocations: 0.9062 kB / 304.4 MB, free: 12.91 MB / 266.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.01056/0.2571, allocations: 4.332 MB / 308.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2571, allocations: 11.69 kB / 308.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.2588, allocations: 0.6831 MB / 309.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/0.2626, allocations: 1.968 MB / 311.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.2627, allocations: 225.2 kB / 311.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/0.2631, allocations: 288.8 kB / 311.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007228/0.2703, allocations: 4.267 MB / 316.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.2704, allocations: 3.938 kB / 316.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.2707, allocations: 122.7 kB / 316.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.2708, allocations: 137.9 kB / 316.4 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.2749, allocations: 2.837 MB / 319.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02397/0.2989, allocations: 12.61 MB / 331.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.3013, allocations: 1.315 MB / 333.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.3039, allocations: 1.135 MB / 334.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.3041, allocations: 56.97 kB / 334.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.3042, allocations: 46.39 kB / 334.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.978e-06/0.3042, allocations: 0 / 334.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.009059/0.3133, allocations: 3.929 MB / 338.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.3133, allocations: 90.42 kB / 338.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.3164, allocations: 1.94 MB / 340.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.3165, allocations: 49.7 kB / 340.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.3182, allocations: 1.545 MB / 342 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005713/0.3187, allocations: 0.5142 MB / 342.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/0.3193, allocations: 344 kB / 342.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.3196, allocations: 476.8 kB / 343.3 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3207, allocations: 0.5387 MB / 343.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.3225, allocations: 1.13 MB / 345 MB, free: 7.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.3254, allocations: 1.77 MB / 346.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.3254, allocations: 3.562 kB / 346.8 MB, free: 5.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004762/0.3301, allocations: 2.034 MB / 348.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.3302, allocations: 11.94 kB / 348.8 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.3302, allocations: 12 kB / 348.8 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.3325, allocations: 492.9 kB / 349.3 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.3339, allocations: 329 kB / 349.6 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/0.3404, allocations: 4.495 MB / 354.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.3419, allocations: 83.88 kB / 354.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.342, allocations: 60 kB / 354.2 MB, free: 14.18 MB / 314.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.001862/0.3439, allocations: 0.8896 MB / 355.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/0.3446, allocations: 222.9 kB / 355.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/0.3483, allocations: 1.589 MB / 356.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/0.3484, allocations: 19.94 kB / 357 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.3484, allocations: 4 kB / 357 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.3484, allocations: 7.969 kB / 357 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.3591, allocations: 4.755 MB / 361.7 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.3591, allocations: 4 kB / 361.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.3602, allocations: 226.1 kB / 362 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.3624, allocations: 439.6 kB / 362.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.3625, allocations: 39.92 kB / 362.4 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006209/0.3687, allocations: 4.193 MB / 366.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3687, allocations: 0 / 366.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/0.3736, allocations: 2.282 MB / 368.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.375, allocations: 346.3 kB / 369.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.3753, allocations: 39.66 kB / 369.3 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.3763, allocations: 95.88 kB / 369.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.3766, allocations: 100.8 kB / 369.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.3767, allocations: 36 kB / 369.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002149/0.3788, allocations: 1.147 MB / 370.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3788, allocations: 0 / 370.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002396/0.3812, allocations: 0.5468 MB / 371.2 MB, free: 13.07 MB / 330.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.000704/0.3819, allocations: 236 kB / 371.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003654/0.3856, allocations: 1.767 MB / 373.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.3856, allocations: 4 kB / 373.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.3876, allocations: 1.013 MB / 374.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.3899, allocations: 442 kB / 374.6 MB, free: 9.688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.4005, allocations: 5.208 MB / 379.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/0.4028, allocations: 1.708 MB / 381.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001381/0.4042, allocations: 361.8 kB / 381.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.4046, allocations: 132.5 kB / 382 MB, free: 2.168 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4046, allocations: 0 / 382 MB, free: 2.168 MB / 330.7 MB Notification: Performance of Templates: time 0.05474/0.4594, allocations: 27.62 MB / 409.7 MB, free: 6.961 MB / 362.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] 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: 5.510839055059478]