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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 196.5 kB / 18.1 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 100.2 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3811/0.3811, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003874, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3579, allocations: 62.95 MB / 0.5184 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.477, allocations: 90.21 MB / 0.6065 GB, free: 15.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.4772, allocations: 71.89 kB / 0.6066 GB, free: 15.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03151/0.5087, allocations: 11.32 MB / 0.6176 GB, free: 3.641 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.5088, allocations: 0 / 0.6176 GB, free: 3.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.026e-05/0.5088, allocations: 19.98 kB / 0.6176 GB, free: 3.621 MB / 426.7 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.002012/0.5109, allocations: 0.9274 MB / 0.6185 GB, free: 2.637 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5109, allocations: 8.031 kB / 0.6186 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.5113, allocations: 76.17 kB / 0.6186 GB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.512, allocations: 394.8 kB / 0.619 GB, free: 2.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.5121, allocations: 37.38 kB / 0.619 GB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5122, allocations: 56.27 kB / 0.6191 GB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5136, allocations: 0.6611 MB / 0.6197 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5136, allocations: 192 / 0.6197 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.5137, allocations: 23.94 kB / 0.6198 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.5137, allocations: 12 kB / 0.6198 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.5153, allocations: 0.6183 MB / 0.6204 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.5188, allocations: 1.953 MB / 0.6223 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.5205, allocations: 0.6855 MB / 0.623 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/0.5213, allocations: 369.8 kB / 0.6233 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.286e-05/0.5214, allocations: 7.984 kB / 0.6233 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.5215, allocations: 54.66 kB / 0.6234 GB, free: 13.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.859e-06/0.5215, allocations: 4 kB / 0.6234 GB, free: 13.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.002591/0.5241, allocations: 0.9084 MB / 0.6243 GB, free: 12.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.5243, allocations: 286.7 kB / 0.6245 GB, free: 12.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.5247, allocations: 353.5 kB / 0.6249 GB, free: 11.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.5247, allocations: 37.64 kB / 0.6249 GB, free: 11.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.5249, allocations: 264.1 kB / 0.6252 GB, free: 11.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.5251, allocations: 157.8 kB / 0.6253 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.5251, allocations: 12 kB / 0.6253 GB, free: 11.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5253, allocations: 354.8 kB / 0.6257 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.526, allocations: 272.9 kB / 0.6259 GB, free: 10.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008297/0.5269, allocations: 416.8 kB / 0.6263 GB, free: 10.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.5285, allocations: 0.6603 MB / 0.627 GB, free: 9.562 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.5285, allocations: 3.938 kB / 0.627 GB, free: 9.559 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003634/0.5321, allocations: 1.235 MB / 0.6282 GB, free: 8.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.5323, allocations: 199.6 kB / 0.6284 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5323, allocations: 4 kB / 0.6284 GB, free: 8.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.5341, allocations: 488.8 kB / 0.6288 GB, free: 7.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.5346, allocations: 119.8 kB / 0.6289 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.5483, allocations: 11.93 MB / 0.6406 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.549, allocations: 127.7 kB / 0.6407 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.5491, allocations: 20 kB / 0.6407 GB, free: 10.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.5491, allocations: 4 kB / 0.6407 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001958/0.551, allocations: 0.755 MB / 0.6415 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.5511, allocations: 4 kB / 0.6415 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.5517, allocations: 165.8 kB / 0.6416 GB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.5524, allocations: 195.7 kB / 0.6418 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/0.5566, allocations: 3.528 MB / 0.6453 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.5571, allocations: 107.6 kB / 0.6454 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.5572, allocations: 19.94 kB / 0.6454 GB, free: 5.367 MB / 458.7 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.0003682/0.5576, allocations: 248.9 kB / 0.6456 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.5578, allocations: 47.47 kB / 0.6457 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.5596, allocations: 0.7197 MB / 0.6464 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5597, allocations: 4 kB / 0.6464 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5597, allocations: 8 kB / 0.6464 GB, free: 4.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5597, allocations: 4.562 kB / 0.6464 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.5606, allocations: 496.9 kB / 0.6469 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.5606, allocations: 0 / 0.6469 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.5613, allocations: 147.8 kB / 0.647 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-05/0.5614, allocations: 24.84 kB / 0.647 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.5614, allocations: 15.94 kB / 0.6471 GB, free: 3.594 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009209/0.5624, allocations: 1.305 MB / 0.6483 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5624, allocations: 0 / 0.6483 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.5651, allocations: 1.54 MB / 0.6498 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.5652, allocations: 116.5 kB / 0.6499 GB, free: 464 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.5653, allocations: 16 kB / 0.65 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.5659, allocations: 91.91 kB / 0.65 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5661, allocations: 43.81 kB / 0.6501 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.5661, allocations: 16 kB / 0.6501 GB, free: 296 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.5664, allocations: 235.2 kB / 0.6503 GB, free: 68 kB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5664, allocations: 0 / 0.6503 GB, free: 68 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.001384/0.5678, allocations: 231.4 kB / 0.6505 GB, free: 15.84 MB / 474.7 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.0001878/0.568, allocations: 119.6 kB / 0.6507 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005768/0.5737, allocations: 2.506 MB / 0.6531 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.5738, allocations: 4 kB / 0.6531 GB, free: 13.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.5747, allocations: 443.1 kB / 0.6535 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.576, allocations: 139 kB / 0.6537 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.5788, allocations: 1.366 MB / 0.655 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.5793, allocations: 0.8708 MB / 0.6559 GB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.5797, allocations: 55.27 kB / 0.6559 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.5798, allocations: 31.44 kB / 0.6559 GB, free: 10.13 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5798, allocations: 0 / 0.6559 GB, free: 10.13 MB / 474.7 MB Notification: Performance of Templates: time 0.01752/0.5973, allocations: 9.361 MB / 0.6651 GB, free: 0.8203 MB / 474.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimitersHomotopy/LimitersHomotopy.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches