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.001111/0.001111, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001235/0.001235, allocations: 173 kB / 24.06 MB, free: 452 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.071/1.071, allocations: 158.6 MB / 186 MB, free: 2.398 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.1477/0.1477, allocations: 32.37 MB / 270.7 MB, free: 14.51 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 1.864e-06/1.864e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.176e-05, allocations: 8.219 kB / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003181/0.003203, allocations: 3.373 MB / 351.5 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.004894, allocations: 0.8148 MB / 352.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.005182, allocations: 12 kB / 352.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.005345, allocations: 71.23 kB / 352.4 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.005649, allocations: 142.7 kB / 352.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.006103, allocations: 127.8 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.006527, allocations: 0.541 MB / 353.2 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.006792, allocations: 166.3 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.007283, allocations: 327.3 kB / 353.7 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.007454, allocations: 171.5 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.007514, allocations: 48 kB / 353.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.007571, allocations: 52 kB / 353.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.007641, allocations: 107.6 kB / 354 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.007738, allocations: 175.6 kB / 354.2 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.008043, allocations: 370.6 kB / 354.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008046, allocations: 4 kB / 354.6 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008047, allocations: 0 / 354.6 MB, free: 2.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.008052, allocations: 0 / 354.6 MB, free: 2.695 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.0008067/0.008859, allocations: 0.796 MB / 355.4 MB, free: 1.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.008909, allocations: 12.03 kB / 355.4 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.00902, allocations: 92.61 kB / 355.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.0093, allocations: 256.7 kB / 355.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.009338, allocations: 37.36 kB / 355.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.009392, allocations: 44.38 kB / 355.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.009824, allocations: 408.4 kB / 356.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.009837, allocations: 4.125 kB / 356.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.009863, allocations: 24.38 kB / 356.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.009878, allocations: 15.94 kB / 356.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.01006, allocations: 140 kB / 356.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.01172, allocations: 1.595 MB / 358 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.01197, allocations: 174.2 kB / 358.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01208, allocations: 87.31 kB / 358.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.0121, allocations: 4 kB / 358.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.01213, allocations: 45.38 kB / 358.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/0.01214, allocations: 4 kB / 358.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001324/0.01346, allocations: 0.8217 MB / 359.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.0135, allocations: 89.05 kB / 359.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.0137, allocations: 300.1 kB / 359.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.01372, allocations: 29.7 kB / 359.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.01389, allocations: 314.8 kB / 359.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/0.01397, allocations: 134.9 kB / 359.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.01405, allocations: 79.78 kB / 360 MB, free: 12.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.01421, allocations: 0.5156 MB / 360.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.01427, allocations: 40.97 kB / 360.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01441, allocations: 188.5 kB / 360.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.01464, allocations: 266.2 kB / 361 MB, free: 11.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.01465, allocations: 3.984 kB / 361 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003666/0.01501, allocations: 316.7 kB / 361.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01503, allocations: 8 kB / 361.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.01504, allocations: 4 kB / 361.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.01517, allocations: 31.66 kB / 361.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.01541, allocations: 116.2 kB / 361.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009897/0.0164, allocations: 1.752 MB / 363.2 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01652, allocations: 16 kB / 363.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.01654, allocations: 12 kB / 363.3 MB, free: 9.359 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.0001309/0.01667, allocations: 184.5 kB / 363.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.01673, allocations: 47.78 kB / 363.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.01678, allocations: 34.11 kB / 363.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01679, allocations: 7.938 kB / 363.5 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.0168, allocations: 8 kB / 363.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.0168, allocations: 144 / 363.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.01737, allocations: 0.534 MB / 364.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01737, allocations: 0 / 364.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.01757, allocations: 91.95 kB / 364.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-05/0.01765, allocations: 27.67 kB / 364.2 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.01767, allocations: 7.984 kB / 364.2 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008525/0.01852, allocations: 1.745 MB / 365.9 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01852, allocations: 0 / 365.9 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.01899, allocations: 0.5513 MB / 366.5 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.01906, allocations: 47.97 kB / 366.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01908, allocations: 4 kB / 366.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01919, allocations: 19.94 kB / 366.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.01926, allocations: 31.92 kB / 366.6 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01927, allocations: 4 kB / 366.6 MB, free: 5.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.01938, allocations: 193.1 kB / 366.8 MB, free: 5.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01938, allocations: 4 kB / 366.8 MB, free: 5.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.0197, allocations: 92 kB / 366.9 MB, free: 5.531 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.0001394/0.01984, allocations: 103.2 kB / 367 MB, free: 5.422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.02026, allocations: 358.1 kB / 367.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.02026, allocations: 0 / 367.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.02044, allocations: 270 kB / 367.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.02076, allocations: 54.89 kB / 367.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.02191, allocations: 0.7867 MB / 368.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.316e-05/0.02199, allocations: 109.2 kB / 368.5 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.654e-05/0.02209, allocations: 38.94 kB / 368.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.02222, allocations: 118.2 kB / 368.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02222, allocations: 0 / 368.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of Templates: time 0.005983/0.0282, allocations: 3.129 MB / 371.8 MB, free: 0.5039 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.3808573009446263]