Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009775/0.0009775, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009213/0.0009213, allocations: 161.5 kB / 24.99 MB, free: 8.344 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.09/1.09, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2884/0.2884, allocations: 32.8 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.093e-05, allocations: 9.766 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004169/0.0042, allocations: 3.511 MB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.005848, allocations: 0.8138 MB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.00609, allocations: 12 kB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.006321, allocations: 75.23 kB / 380.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.006586, allocations: 134.7 kB / 380.5 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.006958, allocations: 131.7 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.007515, allocations: 0.545 MB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.007782, allocations: 166.3 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.008158, allocations: 319.4 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.008363, allocations: 175.5 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.008429, allocations: 48 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.055e-05/0.00848, allocations: 48 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.008561, allocations: 119.6 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.008702, allocations: 171.6 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.009103, allocations: 370.6 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.009107, allocations: 0 / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.009109, allocations: 4 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.009116, allocations: 0 / 382.6 MB, free: 14.36 MB / 362.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.0009374/0.01005, allocations: 0.7843 MB / 383.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.0101, allocations: 16.03 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.01022, allocations: 88.61 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.01059, allocations: 265.8 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.01063, allocations: 37.38 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.01069, allocations: 48.38 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.01126, allocations: 436.5 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01127, allocations: 192 / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.0113, allocations: 16.38 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.01132, allocations: 19.94 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.01162, allocations: 182.7 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.01345, allocations: 1.576 MB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.01376, allocations: 190 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.01392, allocations: 95.27 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.01394, allocations: 4.25 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.01397, allocations: 37.39 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.936e-06/0.01397, allocations: 4 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001662/0.01564, allocations: 0.9776 MB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.01568, allocations: 81.11 kB / 387.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.0159, allocations: 300.4 kB / 387.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.01592, allocations: 29.7 kB / 387.7 MB, free: 8.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.01606, allocations: 318.8 kB / 388.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.01614, allocations: 130.8 kB / 388.2 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.01623, allocations: 83.84 kB / 388.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.01639, allocations: 0.5079 MB / 388.8 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.01649, allocations: 52.95 kB / 388.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01666, allocations: 204.6 kB / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.01695, allocations: 296.6 kB / 389.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01696, allocations: 0 / 389.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004588/0.01742, allocations: 339 kB / 389.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.01744, allocations: 8 kB / 389.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01745, allocations: 4 kB / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.01762, allocations: 31.61 kB / 389.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.0179, allocations: 115.9 kB / 389.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/0.01885, allocations: 1.779 MB / 391.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01898, allocations: 16 kB / 391.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.019, allocations: 19.98 kB / 391.6 MB, free: 4.695 MB / 362.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.0001245/0.01913, allocations: 180.4 kB / 391.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.01918, allocations: 43.81 kB / 391.8 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.01923, allocations: 42.08 kB / 391.9 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01923, allocations: 4 kB / 391.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01924, allocations: 4 kB / 391.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01924, allocations: 0 / 391.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.01987, allocations: 0.586 MB / 392.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01987, allocations: 0 / 392.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.0201, allocations: 95.88 kB / 392.6 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-05/0.02019, allocations: 35.86 kB / 392.6 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.02021, allocations: 8 kB / 392.6 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008255/0.02104, allocations: 1.768 MB / 394.4 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02104, allocations: 0 / 394.4 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.02154, allocations: 0.5631 MB / 394.9 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.02161, allocations: 55.75 kB / 395 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.02164, allocations: 4 kB / 395 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.02176, allocations: 19.98 kB / 395 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.02182, allocations: 23.95 kB / 395 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.02184, allocations: 15.94 kB / 395 MB, free: 1.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.02196, allocations: 205.1 kB / 395.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02196, allocations: 0 / 395.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00033/0.02229, allocations: 88 kB / 395.3 MB, free: 0.75 MB / 362.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.000123/0.02241, allocations: 115.1 kB / 395.4 MB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.02289, allocations: 384.5 kB / 395.8 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.0229, allocations: 0 / 395.8 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.02309, allocations: 270.4 kB / 396.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.02343, allocations: 56.44 kB / 396.1 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.02475, allocations: 0.8092 MB / 397 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.259e-05/0.02483, allocations: 101.3 kB / 397.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.02495, allocations: 42.94 kB / 397.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.02501, allocations: 24.5 kB / 397.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.02501, allocations: 0 / 397.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of Templates: time 0.005925/0.03094, allocations: 2.97 MB / 400.1 MB, free: 11.93 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3756992819253355]