Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009545/0.0009545, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2864/0.2864, allocations: 43.55 MB / 314.5 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.000494, allocations: 15.98 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.09979, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002768/0.1026, allocations: 2.518 MB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1044, allocations: 0.9951 MB / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.1047, allocations: 15.88 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.1048, allocations: 35.58 kB / 446.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.1052, allocations: 87.66 kB / 446.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.1059, allocations: 295.5 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.1064, allocations: 360.5 kB / 447 MB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.1067, allocations: 185 kB / 447.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.107, allocations: 187.2 kB / 447.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1072, allocations: 214.8 kB / 447.6 MB, free: 8.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.1073, allocations: 20 kB / 447.6 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.1074, allocations: 16 kB / 447.6 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.1074, allocations: 83.61 kB / 447.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.1075, allocations: 101.4 kB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.1078, allocations: 351.4 kB / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.1078, allocations: 0 / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1078, allocations: 0 / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.1079, allocations: 0 / 448.2 MB, free: 7.852 MB / 382.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.001601/0.1095, allocations: 0.9312 MB / 449.1 MB, free: 6.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1095, allocations: 8.031 kB / 449.1 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1096, allocations: 71.2 kB / 449.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.1101, allocations: 384.8 kB / 449.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.1101, allocations: 37 kB / 449.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.1102, allocations: 55.91 kB / 449.6 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.1115, allocations: 0.6489 MB / 450.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1116, allocations: 7.891 kB / 450.3 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.1116, allocations: 20 kB / 450.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1116, allocations: 12 kB / 450.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.1132, allocations: 0.6127 MB / 450.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.1159, allocations: 1.84 MB / 452.8 MB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.1174, allocations: 0.6895 MB / 453.5 MB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.1175, allocations: 12.92 kB / 453.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1175, allocations: 50.5 kB / 453.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.743e-06/0.1176, allocations: 0 / 453.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.002554/0.1201, allocations: 0.9067 MB / 454.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.1202, allocations: 294.7 kB / 454.7 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.1206, allocations: 361.9 kB / 455.1 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.1206, allocations: 37.7 kB / 455.1 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1208, allocations: 260.2 kB / 455.4 MB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1209, allocations: 165.6 kB / 455.5 MB, free: 100 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.1209, allocations: 12 kB / 455.5 MB, free: 88 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1618/0.2828, allocations: 358.8 kB / 455.9 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008652/0.2837, allocations: 276.5 kB / 456.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/0.2845, allocations: 413.8 kB / 456.6 MB, free: 45.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.2853, allocations: 302.1 kB / 456.9 MB, free: 45.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.2853, allocations: 0 / 456.9 MB, free: 45.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003337/0.2886, allocations: 1.244 MB / 458.1 MB, free: 45.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.2888, allocations: 1.317 MB / 459.4 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.2889, allocations: 2.938 kB / 459.4 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.2905, allocations: 490.3 kB / 459.9 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.2909, allocations: 112.6 kB / 460 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.3015, allocations: 12.07 MB / 472.1 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.302, allocations: 120.8 kB / 472.2 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.302, allocations: 19.38 kB / 472.2 MB, free: 34.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.302, allocations: 3.344 kB / 472.2 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/0.3039, allocations: 0.7668 MB / 473 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3039, allocations: 3 kB / 473 MB, free: 34.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.3044, allocations: 164.4 kB / 473.2 MB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.3051, allocations: 190.7 kB / 473.3 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/0.3087, allocations: 3.578 MB / 476.9 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.3091, allocations: 104.2 kB / 477 MB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.3092, allocations: 21.69 kB / 477 MB, free: 31.82 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 (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.3094, allocations: 238.4 kB / 477.3 MB, free: 31.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.3095, allocations: 50.66 kB / 477.3 MB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.3112, allocations: 0.7186 MB / 478 MB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3112, allocations: 2.938 kB / 478 MB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3112, allocations: 5.469 kB / 478 MB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3112, allocations: 10.02 kB / 478.1 MB, free: 31.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.312, allocations: 0.4895 MB / 478.5 MB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.312, allocations: 0 / 478.5 MB, free: 31.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.3126, allocations: 150.4 kB / 478.7 MB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.347e-05/0.3127, allocations: 22.86 kB / 478.7 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.3127, allocations: 16.36 kB / 478.7 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000522/0.3133, allocations: 1.301 MB / 480 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3133, allocations: 5.875 kB / 480 MB, free: 30 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.3156, allocations: 1.605 MB / 481.6 MB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.3157, allocations: 127.7 kB / 481.8 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.3157, allocations: 16.11 kB / 481.8 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.3164, allocations: 94.34 kB / 481.9 MB, free: 29.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.3165, allocations: 44.77 kB / 481.9 MB, free: 29.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.3165, allocations: 15.11 kB / 481.9 MB, free: 29.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.3167, allocations: 244.4 kB / 482.2 MB, free: 29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3167, allocations: 0 / 482.2 MB, free: 29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001199/0.3179, allocations: 224.2 kB / 482.4 MB, free: 28.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.318, allocations: 118.5 kB / 482.5 MB, free: 28.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005054/0.3231, allocations: 2.51 MB / 485 MB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3231, allocations: 0 / 485 MB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.3239, allocations: 450.9 kB / 485.5 MB, free: 27.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.3248, allocations: 115.2 kB / 485.6 MB, free: 27.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.3267, allocations: 1.395 MB / 487 MB, free: 26.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.327, allocations: 0.8824 MB / 487.8 MB, free: 25.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.3273, allocations: 66.91 kB / 487.9 MB, free: 25.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3274, allocations: 32.62 kB / 487.9 MB, free: 25.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3274, allocations: 7.875 kB / 488 MB, free: 25.85 MB / 382.1 MB Notification: Performance of Templates: time 0.01494/0.3423, allocations: 9.269 MB / 497.2 MB, free: 25.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimitersHomotopy/LimitersHomotopy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches