Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.0009206/0.0009206, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001565/0.001565, allocations: 172.4 kB / 25.61 MB, free: 8.914 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 1.081/1.081, allocations: 177.1 MB / 206.1 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1796/0.1796, allocations: 34.25 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.672e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003993/0.00402, allocations: 3.475 MB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.005635, allocations: 0.8099 MB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.005868, allocations: 11.94 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.006064, allocations: 67.3 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.006296, allocations: 146.7 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.006659, allocations: 127.7 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.007055, allocations: 0.5372 MB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.007316, allocations: 174.3 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.007684, allocations: 323.3 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.007909, allocations: 167.5 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.007968, allocations: 52 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.008021, allocations: 48 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.008104, allocations: 111.6 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.00822, allocations: 183.6 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.008557, allocations: 362.6 kB / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.008561, allocations: 0 / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008563, allocations: 0 / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008569, allocations: 0 / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008356/0.009404, allocations: 0.796 MB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.009451, allocations: 8.031 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.009553, allocations: 96.61 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.009852, allocations: 248.9 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.009894, allocations: 41.31 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.009941, allocations: 52.33 kB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.01031, allocations: 404.4 kB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01033, allocations: 4.125 kB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.01035, allocations: 20.38 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01036, allocations: 15.94 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.01052, allocations: 140 kB / 387.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.01183, allocations: 1.595 MB / 389.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.01207, allocations: 181.9 kB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.01217, allocations: 75.34 kB / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.01219, allocations: 8 kB / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.01221, allocations: 37.38 kB / 389.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.01222, allocations: 0 / 389.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001246/0.01346, allocations: 0.842 MB / 390.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.01349, allocations: 89.05 kB / 390.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.01364, allocations: 296.1 kB / 390.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.01366, allocations: 33.7 kB / 390.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.01375, allocations: 310.8 kB / 391.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.0138, allocations: 126.9 kB / 391.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.01387, allocations: 79.81 kB / 391.3 MB, free: 11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.01393, allocations: 0.5157 MB / 391.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.01399, allocations: 40.97 kB / 391.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01409, allocations: 192.5 kB / 392 MB, free: 10.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.01427, allocations: 268 kB / 392.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01428, allocations: 0 / 392.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003138/0.01459, allocations: 315.9 kB / 392.6 MB, free: 9.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01461, allocations: 4 kB / 392.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01461, allocations: 4 kB / 392.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.01475, allocations: 31.66 kB / 392.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.01497, allocations: 115.9 kB / 392.7 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007008/0.01567, allocations: 1.752 MB / 394.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.01589, allocations: 16 kB / 394.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.01591, allocations: 15.98 kB / 394.5 MB, free: 7.488 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.01602, allocations: 176.5 kB / 394.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.01608, allocations: 39.81 kB / 394.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.01612, allocations: 42.05 kB / 394.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01612, allocations: 3.938 kB / 394.8 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01613, allocations: 8.031 kB / 394.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01613, allocations: 0 / 394.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.01665, allocations: 0.5357 MB / 395.3 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01665, allocations: 0 / 395.3 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.01685, allocations: 95.89 kB / 395.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.01692, allocations: 35.84 kB / 395.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01694, allocations: 4 kB / 395.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004689/0.01741, allocations: 1.741 MB / 397.2 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01741, allocations: 0 / 397.2 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.01789, allocations: 0.5435 MB / 397.7 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.01795, allocations: 43.78 kB / 397.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01797, allocations: 8.031 kB / 397.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.01811, allocations: 19.94 kB / 397.8 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01816, allocations: 31.94 kB / 397.8 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01817, allocations: 8 kB / 397.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.289e-05/0.01824, allocations: 193.1 kB / 398 MB, free: 3.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01824, allocations: 0 / 398 MB, free: 3.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.0186, allocations: 96 kB / 398.1 MB, free: 3.676 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.01872, allocations: 107.2 kB / 398.2 MB, free: 3.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.01914, allocations: 359.1 kB / 398.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.01914, allocations: 0 / 398.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.01937, allocations: 273.2 kB / 398.9 MB, free: 2.902 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.01985, allocations: 54.28 kB / 398.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.02152, allocations: 0.8045 MB / 399.7 MB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.064e-05/0.02162, allocations: 105.3 kB / 399.8 MB, free: 1.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.02176, allocations: 38.95 kB / 399.9 MB, free: 1.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.02191, allocations: 118.2 kB / 400 MB, free: 1.723 MB / 314.7 MB Notification: Performance of SimCode: time 2.083e-06/0.02191, allocations: 0 / 400 MB, free: 1.723 MB / 314.7 MB Notification: Performance of Templates: time 0.007066/0.02898, allocations: 3.283 MB / 403.3 MB, free: 14.49 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5614609927870333]