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.0009939/0.0009939, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001157/0.001157, allocations: 169.3 kB / 24.25 MB, free: 312 kB / 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 MB, free: 2.406 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.1403/0.1403, allocations: 32.37 MB / 270.7 MB, free: 14.83 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.364e-06/2.364e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.377e-05, allocations: 8.219 kB / 347.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.00459/0.004624, allocations: 3.401 MB / 351 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.006375, allocations: 0.8109 MB / 351.9 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.006635, allocations: 8 kB / 351.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.006875, allocations: 83.16 kB / 351.9 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.007177, allocations: 134.8 kB / 352.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.007663, allocations: 131.7 kB / 352.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.008223, allocations: 0.5371 MB / 352.7 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.008561, allocations: 170.3 kB / 352.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.009061, allocations: 331.3 kB / 353.2 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.009302, allocations: 171.5 kB / 353.4 MB, free: 4 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.009377, allocations: 48 kB / 353.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.009439, allocations: 48 kB / 353.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.009517, allocations: 115.6 kB / 353.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.009683, allocations: 175.6 kB / 353.8 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.01011, allocations: 370.6 kB / 354.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01012, allocations: 0 / 354.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01012, allocations: 0 / 354.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.01013, allocations: 0 / 354.1 MB, free: 3.258 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.001181/0.01131, allocations: 0.7921 MB / 354.9 MB, free: 2.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.01137, allocations: 8.031 kB / 354.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.01155, allocations: 88.61 kB / 355 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.01196, allocations: 273.8 kB / 355.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.01201, allocations: 33.38 kB / 355.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.01208, allocations: 44.38 kB / 355.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.01275, allocations: 436.5 kB / 355.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01277, allocations: 192 / 355.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.01281, allocations: 20.38 kB / 355.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.01283, allocations: 15.94 kB / 355.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.01321, allocations: 182.7 kB / 356 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.01522, allocations: 1.584 MB / 357.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.01562, allocations: 198 kB / 357.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.01582, allocations: 91.55 kB / 357.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.01584, allocations: 7.938 kB / 357.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.01588, allocations: 45.38 kB / 357.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.755e-06/0.01589, allocations: 0 / 357.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.002131/0.01802, allocations: 0.9694 MB / 358.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.01806, allocations: 85.05 kB / 359 MB, free: 14.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.01835, allocations: 300.2 kB / 359.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.01837, allocations: 29.7 kB / 359.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.01856, allocations: 310.8 kB / 359.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.01867, allocations: 126.9 kB / 359.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.01878, allocations: 79.8 kB / 359.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.01896, allocations: 0.5157 MB / 360.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.0191, allocations: 56.97 kB / 360.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.01932, allocations: 196.6 kB / 360.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.01971, allocations: 306.4 kB / 360.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01972, allocations: 0 / 360.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005723/0.02029, allocations: 333 kB / 361.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.02031, allocations: 12.06 kB / 361.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.02032, allocations: 4 kB / 361.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.02049, allocations: 27.67 kB / 361.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.02088, allocations: 119.9 kB / 361.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.02196, allocations: 1.779 MB / 363.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.02208, allocations: 16 kB / 363.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.0221, allocations: 16 kB / 363.2 MB, free: 9.594 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.0001329/0.02223, allocations: 176.5 kB / 363.3 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.02229, allocations: 39.81 kB / 363.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.02233, allocations: 38.05 kB / 363.4 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02234, allocations: 4 kB / 363.4 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.02235, allocations: 4.031 kB / 363.4 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.02235, allocations: 7.984 kB / 363.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.02298, allocations: 0.5882 MB / 364 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.02299, allocations: 4 kB / 364 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.02321, allocations: 91.88 kB / 364.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.804e-05/0.0233, allocations: 31.73 kB / 364.1 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.02332, allocations: 11.98 kB / 364.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007438/0.02406, allocations: 1.768 MB / 365.9 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02407, allocations: 0 / 365.9 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.02451, allocations: 0.5709 MB / 366.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.02457, allocations: 55.72 kB / 366.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.0246, allocations: 4 kB / 366.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.02471, allocations: 20.03 kB / 366.6 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.02477, allocations: 27.94 kB / 366.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.02478, allocations: 8 kB / 366.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.0249, allocations: 201.1 kB / 366.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0249, allocations: 3.938 kB / 366.8 MB, free: 5.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.02518, allocations: 92 kB / 366.9 MB, free: 5.637 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.0001056/0.02528, allocations: 107.2 kB / 367 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.02572, allocations: 386.1 kB / 367.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02572, allocations: 4 kB / 367.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.02589, allocations: 273.3 kB / 367.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.0262, allocations: 37.34 kB / 367.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.02741, allocations: 0.814 MB / 368.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.199e-05/0.02749, allocations: 109.3 kB / 368.6 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.789e-05/0.02759, allocations: 34.95 kB / 368.6 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.02765, allocations: 24.5 kB / 368.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02765, allocations: 0 / 368.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of Templates: time 0.005339/0.03299, allocations: 2.885 MB / 371.5 MB, free: 0.9062 MB / 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.3069031490013003]