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.001325/0.001325, allocations: 86.06 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001459/0.001459, allocations: 165.4 kB / 23.96 MB, free: 4.164 MB / 14.72 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.435/1.435, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2228/0.2228, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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=4666,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=4666,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 2.255e-06/2.255e-06, allocations: 0 / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.46e-05, allocations: 5.094 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005034/0.005069, allocations: 3.238 MB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.00668, allocations: 0.8177 MB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.006868, allocations: 8 kB / 444.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.00707, allocations: 71.23 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.007388, allocations: 146.7 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.007826, allocations: 119.8 kB / 444.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.008429, allocations: 0.541 MB / 445 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.008775, allocations: 170.2 kB / 445.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.009148, allocations: 319.4 kB / 445.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.00941, allocations: 171.5 kB / 445.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.823e-05/0.009498, allocations: 52 kB / 445.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.009589, allocations: 48 kB / 445.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.009698, allocations: 111.6 kB / 445.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.009904, allocations: 179.6 kB / 446 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006555/0.01056, allocations: 0.5646 MB / 446.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01056, allocations: 0 / 446.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01056, allocations: 0 / 446.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01057, allocations: 0 / 446.6 MB, free: 1.609 MB / 366.1 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.001416/0.01199, allocations: 0.6883 MB / 447.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01203, allocations: 8.031 kB / 447.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.01213, allocations: 60.61 kB / 447.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.01259, allocations: 259 kB / 447.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.01263, allocations: 33.38 kB / 447.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.01271, allocations: 52.31 kB / 447.7 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2041/0.2169, allocations: 0.5004 MB / 448.2 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.2169, allocations: 2.234 kB / 448.2 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.2169, allocations: 19.91 kB / 448.2 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2169, allocations: 11.56 kB / 448.2 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.2178, allocations: 327.3 kB / 448.5 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.22, allocations: 1.449 MB / 450 MB, free: 20.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.2205, allocations: 229.5 kB / 450.2 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.2208, allocations: 129.6 kB / 450.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2209, allocations: 3.375 kB / 450.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2209, allocations: 39.33 kB / 450.4 MB, free: 20.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.2209, allocations: 0 / 450.4 MB, free: 20.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002732/0.2236, allocations: 1.132 MB / 451.5 MB, free: 19.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.2236, allocations: 81.23 kB / 451.6 MB, free: 19.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.2239, allocations: 258.2 kB / 451.8 MB, free: 19.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2239, allocations: 35.02 kB / 451.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.224, allocations: 261.6 kB / 452.1 MB, free: 19.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.2241, allocations: 123.3 kB / 452.3 MB, free: 19.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2242, allocations: 76.89 kB / 452.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.2242, allocations: 343.3 kB / 452.7 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.2245, allocations: 109.2 kB / 452.8 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.2249, allocations: 216.2 kB / 453 MB, free: 18.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.2255, allocations: 336.2 kB / 453.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2255, allocations: 1.281 kB / 453.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008826/0.2264, allocations: 422.6 kB / 453.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2264, allocations: 10.7 kB / 453.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2264, allocations: 7.156 kB / 453.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.2266, allocations: 32.95 kB / 453.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.2271, allocations: 122.9 kB / 453.9 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/0.2279, allocations: 1.309 MB / 455.2 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.2282, allocations: 23.14 kB / 455.2 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.2282, allocations: 13.83 kB / 455.2 MB, free: 17.07 MB / 366.1 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.0001665/0.2284, allocations: 171.8 kB / 455.4 MB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.2285, allocations: 30.5 kB / 455.4 MB, free: 16.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.2285, allocations: 35.14 kB / 455.5 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2285, allocations: 4.125 kB / 455.5 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2286, allocations: 1.594 kB / 455.5 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2286, allocations: 4.969 kB / 455.5 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.2295, allocations: 0.5901 MB / 456.1 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2295, allocations: 0 / 456.1 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.23, allocations: 94 kB / 456.2 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/0.23, allocations: 26.78 kB / 456.2 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.2301, allocations: 8.656 kB / 456.2 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006172/0.2307, allocations: 1.308 MB / 457.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2307, allocations: 1.375 kB / 457.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000887/0.2316, allocations: 0.6027 MB / 458.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.2317, allocations: 51.59 kB / 458.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.2317, allocations: 9.031 kB / 458.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.232, allocations: 17.8 kB / 458.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.2321, allocations: 28.66 kB / 458.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2321, allocations: 12.61 kB / 458.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.2322, allocations: 177.9 kB / 458.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2322, allocations: 0 / 458.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.2327, allocations: 93.22 kB / 458.5 MB, free: 14.64 MB / 366.1 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.000113/0.2328, allocations: 109.5 kB / 458.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008027/0.2336, allocations: 392.3 kB / 459 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2336, allocations: 0 / 459 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.234, allocations: 242.8 kB / 459.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.2345, allocations: 45.88 kB / 459.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2358, allocations: 0.8248 MB / 460.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2361, allocations: 206.6 kB / 460.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.2362, allocations: 36.84 kB / 460.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.2363, allocations: 27.48 kB / 460.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2363, allocations: 4 kB / 460.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of Templates: time 0.007859/0.2442, allocations: 2.925 MB / 463.3 MB, free: 13.15 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.901013966649771]