Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 96.58 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002622, allocations: 4 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.003235/0.1114, allocations: 2.651 MB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1135, allocations: 1.006 MB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.1139, allocations: 11.94 kB / 486.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.114, allocations: 39.58 kB / 486.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1144, allocations: 63.38 kB / 486.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.1152, allocations: 334.9 kB / 487.2 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007277/0.116, allocations: 0.5427 MB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.1164, allocations: 211.7 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1167, allocations: 191.1 kB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.117, allocations: 210.7 kB / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.1171, allocations: 20 kB / 488.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.1172, allocations: 27.98 kB / 488.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.1173, allocations: 79.55 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.1175, allocations: 236.2 kB / 488.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005085/0.118, allocations: 482.2 kB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1181, allocations: 8 kB / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1181, allocations: 0 / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.1181, allocations: 0 / 489.2 MB, free: 14.06 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00199/0.1201, allocations: 0.9043 MB / 490.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1201, allocations: 8.875 kB / 490.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.1205, allocations: 80.17 kB / 490.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.121, allocations: 389.8 kB / 490.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.1211, allocations: 29.38 kB / 490.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1212, allocations: 52.38 kB / 490.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.1227, allocations: 0.6648 MB / 491.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1228, allocations: 3.938 kB / 491.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.1228, allocations: 24 kB / 491.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1229, allocations: 8 kB / 491.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.1247, allocations: 0.625 MB / 491.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.1278, allocations: 1.827 MB / 493.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.1296, allocations: 0.6933 MB / 494.5 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.1306, allocations: 377.8 kB / 494.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.1307, allocations: 8 kB / 494.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.1308, allocations: 50.53 kB / 494.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.1308, allocations: 0 / 494.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002973/0.1337, allocations: 0.9044 MB / 495.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.1339, allocations: 298.7 kB / 496.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.1343, allocations: 345.7 kB / 496.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.1343, allocations: 33.7 kB / 496.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1345, allocations: 260.4 kB / 496.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.1347, allocations: 161.7 kB / 496.9 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.1347, allocations: 49.69 kB / 496.9 MB, free: 5.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1349, allocations: 362.7 kB / 497.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008781/0.1358, allocations: 280.9 kB / 497.5 MB, free: 5.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.1368, allocations: 423.1 kB / 497.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.1387, allocations: 0.6681 MB / 498.6 MB, free: 4.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1387, allocations: 4 kB / 498.6 MB, free: 4.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004298/0.143, allocations: 1.262 MB / 499.9 MB, free: 2.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.1432, allocations: 185.3 kB / 0.4883 GB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1432, allocations: 8 kB / 0.4883 GB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/0.1453, allocations: 488.7 kB / 0.4888 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.146, allocations: 115.8 kB / 0.4889 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.1607, allocations: 11.97 MB / 0.5006 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.1615, allocations: 119.6 kB / 0.5007 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.1615, allocations: 19.98 kB / 0.5007 GB, free: 4.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.1616, allocations: 8 kB / 0.5008 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002305/0.1639, allocations: 0.7703 MB / 0.5015 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1639, allocations: 4 kB / 0.5015 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.1646, allocations: 165.8 kB / 0.5017 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/0.1654, allocations: 195.7 kB / 0.5019 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2267/0.3921, allocations: 3.514 MB / 0.5053 GB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.3929, allocations: 102.4 kB / 0.5054 GB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.393, allocations: 19.42 kB / 0.5054 GB, free: 37.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,4), (2,4), (2,4), (2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004263/0.3934, allocations: 240 kB / 0.5056 GB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3937, allocations: 52.19 kB / 0.5057 GB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.3963, allocations: 0.7249 MB / 0.5064 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.3963, allocations: 5.469 kB / 0.5064 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3963, allocations: 3.031 kB / 0.5064 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.3964, allocations: 3.828 kB / 0.5064 GB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3975, allocations: 495.2 kB / 0.5069 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.3975, allocations: 2.922 kB / 0.5069 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.3983, allocations: 150.2 kB / 0.507 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3984, allocations: 25.89 kB / 0.507 GB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.3985, allocations: 13.91 kB / 0.5071 GB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006979/0.3992, allocations: 1.303 MB / 0.5083 GB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3992, allocations: 1.406 kB / 0.5083 GB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.4023, allocations: 1.528 MB / 0.5098 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4024, allocations: 125 kB / 0.5099 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.4025, allocations: 12.88 kB / 0.51 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.4032, allocations: 91.72 kB / 0.51 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4034, allocations: 46.27 kB / 0.5101 GB, free: 34.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.4034, allocations: 13.91 kB / 0.5101 GB, free: 34.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.4037, allocations: 241.7 kB / 0.5103 GB, free: 34.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4037, allocations: 0 / 0.5103 GB, free: 34.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001477/0.4052, allocations: 228.3 kB / 0.5105 GB, free: 34.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * 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 (43): * Single equations (assignments): 42 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.4054, allocations: 114.6 kB / 0.5107 GB, free: 34.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006517/0.4119, allocations: 2.519 MB / 0.5131 GB, free: 33.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.4119, allocations: 3.188 kB / 0.5131 GB, free: 33.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.413, allocations: 444.2 kB / 0.5135 GB, free: 33.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.4145, allocations: 135.2 kB / 0.5137 GB, free: 33.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.417, allocations: 1.412 MB / 0.515 GB, free: 32.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.4175, allocations: 0.8691 MB / 0.5159 GB, free: 32.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.4178, allocations: 64.05 kB / 0.516 GB, free: 32.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.418, allocations: 39.89 kB / 0.516 GB, free: 32.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.418, allocations: 0 / 0.516 GB, free: 32.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01948/0.4375, allocations: 9.585 MB / 0.5254 GB, free: 29.68 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimitersHomotopy/LimitersHomotopy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches