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.001385/0.001385, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00146/0.00146, allocations: 161.7 kB / 24.27 MB, free: 176 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.479/1.479, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3615/0.3615, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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 2.154e-06/2.154e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.372e-05, allocations: 6.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005611/0.005644, allocations: 3.25 MB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.007679, allocations: 0.8023 MB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.007892, allocations: 11.94 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.008138, allocations: 75.28 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.008545, allocations: 142.6 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.008981, allocations: 127.8 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.009688, allocations: 0.5408 MB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.01003, allocations: 166.3 kB / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.01049, allocations: 327.3 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.01079, allocations: 171.5 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.01087, allocations: 48 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.01096, allocations: 52 kB / 383 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.01107, allocations: 111.6 kB / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.0113, allocations: 171.6 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008529/0.01215, allocations: 0.5685 MB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01216, allocations: 0 / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01216, allocations: 0 / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.01217, allocations: 0 / 383.8 MB, free: 12.39 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.00148/0.01365, allocations: 0.6961 MB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.01369, allocations: 8.031 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.01387, allocations: 88.61 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.0145, allocations: 263 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.01456, allocations: 41.38 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.01465, allocations: 48.38 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.01567, allocations: 0.5031 MB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.01568, allocations: 192 / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.01573, allocations: 20.38 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.01575, allocations: 15.94 kB / 385.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.01658, allocations: 328.4 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.01959, allocations: 1.47 MB / 387.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.02022, allocations: 221 kB / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.02061, allocations: 129.4 kB / 387.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.02063, allocations: 4 kB / 387.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.02068, allocations: 47.02 kB / 387.7 MB, free: 8.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.02068, allocations: 0 / 387.7 MB, free: 8.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003343/0.02402, allocations: 1.125 MB / 388.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.02409, allocations: 81.11 kB / 388.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.02445, allocations: 265.7 kB / 389.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.02448, allocations: 29.7 kB / 389.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.02471, allocations: 264.1 kB / 389.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.02483, allocations: 126.9 kB / 389.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.02496, allocations: 78.14 kB / 389.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.02516, allocations: 342.8 kB / 389.9 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.02547, allocations: 108.9 kB / 390 MB, free: 5.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.02587, allocations: 216.9 kB / 390.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.0266, allocations: 341 kB / 390.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.0266, allocations: 3.938 kB / 390.6 MB, free: 5.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009923/0.02759, allocations: 437.8 kB / 391 MB, free: 4.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.02761, allocations: 8 kB / 391 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.02763, allocations: 12.34 kB / 391 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.02782, allocations: 36.83 kB / 391.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.02834, allocations: 119.8 kB / 391.2 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.02982, allocations: 1.315 MB / 392.5 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.0301, allocations: 20.05 kB / 392.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.03014, allocations: 16 kB / 392.5 MB, free: 3.117 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.0002314/0.03037, allocations: 161.7 kB / 392.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.03047, allocations: 43.81 kB / 392.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.03056, allocations: 42.05 kB / 392.8 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.03056, allocations: 4 kB / 392.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.03057, allocations: 0 / 392.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.03058, allocations: 3.984 kB / 392.8 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.03176, allocations: 0.5817 MB / 393.4 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.03177, allocations: 4 kB / 393.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.03225, allocations: 91.88 kB / 393.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.03238, allocations: 32.97 kB / 393.5 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.0324, allocations: 8.062 kB / 393.5 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.03388, allocations: 1.304 MB / 394.8 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.03388, allocations: 0 / 394.8 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.03507, allocations: 0.6092 MB / 395.4 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.03518, allocations: 51.77 kB / 395.5 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.03522, allocations: 8 kB / 395.5 MB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.03553, allocations: 20.06 kB / 395.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.03561, allocations: 27.88 kB / 395.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.03563, allocations: 12 kB / 395.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.03584, allocations: 177.2 kB / 395.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03584, allocations: 0 / 395.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005127/0.03635, allocations: 92 kB / 395.8 MB, free: 15.67 MB / 378.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.0001493/0.0365, allocations: 112 kB / 395.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009396/0.03744, allocations: 390.7 kB / 396.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03744, allocations: 192 / 396.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.0379, allocations: 250.4 kB / 396.5 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.03838, allocations: 40.7 kB / 396.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.04007, allocations: 0.8274 MB / 397.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.04031, allocations: 215.7 kB / 397.6 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.04046, allocations: 34.95 kB / 397.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.04054, allocations: 28.5 kB / 397.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 4.8e-07/0.04054, allocations: 0 / 397.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of Templates: time 0.008417/0.04896, allocations: 2.965 MB / 400.6 MB, free: 10.79 MB / 378.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 4.933071814943105]