Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.0009718/0.0009718, allocations: 85.84 kB / 21.44 MB, free: 3.062 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.001343/0.001343, allocations: 166 kB / 24.84 MB, free: 9.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.075/1.075, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1576/0.1576, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 348.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.213e-05, allocations: 8.219 kB / 348.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003049/0.003071, allocations: 3.377 MB / 352.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009579/0.004029, allocations: 0.8109 MB / 353.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.004194, allocations: 11.94 kB / 353.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.004344, allocations: 75.3 kB / 353.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.004505, allocations: 134.7 kB / 353.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004762, allocations: 131.7 kB / 353.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.005066, allocations: 0.5371 MB / 354 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.005288, allocations: 174.3 kB / 354.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.005537, allocations: 327.3 kB / 354.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005685, allocations: 167.5 kB / 354.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.005729, allocations: 51.98 kB / 354.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.022e-05/0.005769, allocations: 52 kB / 354.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.005821, allocations: 111.6 kB / 354.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.005923, allocations: 175.6 kB / 355 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.006219, allocations: 362.6 kB / 355.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006221, allocations: 0 / 355.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006222, allocations: 4 kB / 355.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.006227, allocations: 0 / 355.3 MB, free: 2.715 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.0007312/0.006958, allocations: 0.796 MB / 356.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.006995, allocations: 16.03 kB / 356.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.007076, allocations: 88.61 kB / 356.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.007305, allocations: 256.8 kB / 356.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.007333, allocations: 37.38 kB / 356.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.007373, allocations: 44.38 kB / 356.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.007706, allocations: 416.3 kB / 357 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.007719, allocations: 192 / 357 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.007748, allocations: 20.38 kB / 357 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.007759, allocations: 19.94 kB / 357 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.007912, allocations: 132 kB / 357.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.009232, allocations: 1.599 MB / 358.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.00946, allocations: 182.2 kB / 358.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.009561, allocations: 91.3 kB / 359 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.009577, allocations: 4 kB / 359 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.0096, allocations: 41.39 kB / 359.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.502e-06/0.009602, allocations: 0 / 359.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001278/0.01088, allocations: 0.8346 MB / 359.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.01092, allocations: 81.11 kB / 360 MB, free: 13.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.0111, allocations: 296.1 kB / 360.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.01112, allocations: 29.7 kB / 360.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.01127, allocations: 310.8 kB / 360.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/0.01134, allocations: 130.9 kB / 360.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.01143, allocations: 91.75 kB / 360.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.01159, allocations: 0.5079 MB / 361.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.01165, allocations: 44.95 kB / 361.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.01179, allocations: 192.5 kB / 361.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.01203, allocations: 270.2 kB / 361.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01204, allocations: 0 / 361.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003446/0.01238, allocations: 304.9 kB / 362.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.0124, allocations: 8 kB / 362.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01241, allocations: 4 kB / 362.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.01254, allocations: 35.66 kB / 362.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.01278, allocations: 115.8 kB / 362.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008548/0.01364, allocations: 1.753 MB / 364 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.01373, allocations: 11.98 kB / 364 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.01375, allocations: 16 kB / 364.1 MB, free: 9.375 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 0.0001242/0.01388, allocations: 180.5 kB / 364.2 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.01393, allocations: 39.81 kB / 364.3 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.01397, allocations: 38.14 kB / 364.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.01398, allocations: 11.94 kB / 364.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01398, allocations: 4 kB / 364.3 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01399, allocations: 0 / 364.3 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.01454, allocations: 0.5301 MB / 364.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01454, allocations: 0 / 364.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.01475, allocations: 95.81 kB / 364.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.953e-05/0.01483, allocations: 31.86 kB / 365 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01485, allocations: 12 kB / 365 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000715/0.01556, allocations: 1.737 MB / 366.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.01556, allocations: 4 kB / 366.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.01594, allocations: 0.5396 MB / 367.3 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.016, allocations: 51.81 kB / 367.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.01603, allocations: 8 kB / 367.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.01615, allocations: 19.92 kB / 367.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.01621, allocations: 27.89 kB / 367.4 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.01623, allocations: 12 kB / 367.4 MB, free: 5.836 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.01633, allocations: 197.1 kB / 367.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01633, allocations: 0 / 367.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.0166, allocations: 92 kB / 367.7 MB, free: 5.555 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 0.0001093/0.01671, allocations: 111.4 kB / 367.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.01708, allocations: 350.2 kB / 368.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01709, allocations: 0 / 368.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.01726, allocations: 273.2 kB / 368.4 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.01756, allocations: 47.64 kB / 368.4 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.0186, allocations: 0.7905 MB / 369.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.609e-05/0.01867, allocations: 109.3 kB / 369.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.5e-05/0.01877, allocations: 34.95 kB / 369.4 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.01889, allocations: 122.2 kB / 369.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01889, allocations: 0 / 369.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of Templates: time 0.00562/0.02451, allocations: 3.182 MB / 372.7 MB, free: 488 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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.270278955809772]