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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002096, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006688/0.0006688, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009337/0.001603, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9264/0.9264, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1811/1.107, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.127/0.127, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02408/0.151, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.453e-06/1.453e-06, allocations: 0 / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.731e-05, allocations: 2.312 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005049/0.005066, allocations: 3.528 MB / 289.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.006828, allocations: 0.8175 MB / 290.2 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.00705, allocations: 8 kB / 290.2 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.007214, allocations: 79.22 kB / 290.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.007543, allocations: 138.7 kB / 290.4 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.007892, allocations: 131.7 kB / 290.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.008499, allocations: 0.5373 MB / 291.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.008793, allocations: 168.3 kB / 291.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.009334, allocations: 369 kB / 291.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.00961, allocations: 175.5 kB / 291.8 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.009691, allocations: 52 kB / 291.8 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.264e-05/0.009774, allocations: 48 kB / 291.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.009858, allocations: 79.75 kB / 291.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.01004, allocations: 151.7 kB / 292.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.01046, allocations: 326.8 kB / 292.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.01047, allocations: 0 / 292.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01048, allocations: 0 / 292.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.01049, allocations: 0 / 292.4 MB, free: 1.82 MB / 282.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.001124/0.01162, allocations: 0.7725 MB / 293.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.01165, allocations: 8.031 kB / 293.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.01177, allocations: 72.88 kB / 293.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.01211, allocations: 214 kB / 293.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.01215, allocations: 33.38 kB / 293.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.01223, allocations: 48.33 kB / 293.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.0128, allocations: 419.8 kB / 293.9 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.01282, allocations: 4.188 kB / 294 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.01286, allocations: 16.38 kB / 294 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.01288, allocations: 15.94 kB / 294 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.01312, allocations: 120 kB / 294.1 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.01503, allocations: 1.313 MB / 295.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.01531, allocations: 149 kB / 295.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.01543, allocations: 81.05 kB / 295.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.01545, allocations: 8 kB / 295.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.01549, allocations: 34.56 kB / 295.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.01549, allocations: 0 / 295.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001794/0.01728, allocations: 0.8591 MB / 296.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.01732, allocations: 81.11 kB / 296.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.0175, allocations: 248.8 kB / 296.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.01752, allocations: 29.7 kB / 296.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.01764, allocations: 248 kB / 297.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.01772, allocations: 122.9 kB / 297.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.01781, allocations: 74.12 kB / 297.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.01793, allocations: 346.8 kB / 297.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.018, allocations: 40.97 kB / 297.7 MB, free: 12.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01814, allocations: 152.9 kB / 297.9 MB, free: 12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.0184, allocations: 237 kB / 298.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.0184, allocations: 0 / 298.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003397/0.01874, allocations: 248.2 kB / 298.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01876, allocations: 4.375 kB / 298.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01877, allocations: 8 kB / 298.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.01887, allocations: 28.83 kB / 298.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.01931, allocations: 158.8 kB / 298.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006538/0.01997, allocations: 1.202 MB / 299.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.915e-05/0.02007, allocations: 12 kB / 299.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.02008, allocations: 12 kB / 299.7 MB, free: 9.969 MB / 298.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 8.634e-05/0.02017, allocations: 137.7 kB / 299.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.02021, allocations: 27.97 kB / 299.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.02024, allocations: 46.11 kB / 300 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.02025, allocations: 7.938 kB / 300 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.02025, allocations: 4.031 kB / 300 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.02025, allocations: 0 / 300 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.02065, allocations: 401 kB / 300.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02066, allocations: 4 kB / 300.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.02092, allocations: 132.1 kB / 300.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.02097, allocations: 31.8 kB / 300.5 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.308e-05/0.02102, allocations: 24.83 kB / 300.5 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.02104, allocations: 4 kB / 300.6 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005228/0.02156, allocations: 1.194 MB / 301.7 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.02156, allocations: 7.875 kB / 301.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.02187, allocations: 411.6 kB / 302.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.0219, allocations: 8 kB / 302.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.022, allocations: 19.92 kB / 302.2 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.02205, allocations: 27.89 kB / 302.2 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.02206, allocations: 12 kB / 302.2 MB, free: 7.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.685e-05/0.02212, allocations: 78.78 kB / 302.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02212, allocations: 0 / 302.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.02236, allocations: 96 kB / 302.4 MB, free: 7.168 MB / 298.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 7.907e-05/0.02244, allocations: 88.34 kB / 302.5 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.02272, allocations: 292.7 kB / 302.8 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.02273, allocations: 9.125 kB / 302.8 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.02287, allocations: 227.5 kB / 303 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.02326, allocations: 0.5339 MB / 303.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.02567, allocations: 0.8481 MB / 304.4 MB, free: 5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.504e-05/0.02575, allocations: 113.3 kB / 304.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.886e-05/0.02585, allocations: 34.97 kB / 304.5 MB, free: 4.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.02597, allocations: 107.3 kB / 304.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02598, allocations: 0 / 304.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of Templates: time 0.005717/0.03169, allocations: 3.761 MB / 308.4 MB, free: 1.035 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.77793893404305]