Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002689/0.002689, allocations: 121.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003771/0.003772, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.265/2.265, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8672, allocations: 62.44 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.004415/0.8717, allocations: 480.4 kB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006601/0.8784, allocations: 1.304 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.8785, allocations: 0 / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.8785, allocations: 0 / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.13e-05/0.8786, allocations: 0 / 0.5334 GB, free: 12.23 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-219:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.8825, allocations: 0.5783 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.8826, allocations: 2.75 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.8827, allocations: 4 kB / 0.534 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.8828, allocations: 1.375 kB / 0.534 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.8828, allocations: 5.359 kB / 0.534 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.8828, allocations: 0 / 0.534 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02797/0.9108, allocations: 2.524 MB / 0.5364 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.9111, allocations: 5.109 kB / 0.5364 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.9112, allocations: 0 / 0.5364 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.9123, allocations: 167.2 kB / 0.5366 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.9123, allocations: 0 / 0.5366 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.9123, allocations: 1.188 kB / 0.5366 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.9123, allocations: 0 / 0.5366 GB, free: 10.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001026/0.9134, allocations: 378.5 kB / 0.5369 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.482e-05/0.9135, allocations: 9.188 kB / 0.537 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.9136, allocations: 0.9375 kB / 0.537 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.9138, allocations: 164.4 kB / 0.5371 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9139, allocations: 1.531 kB / 0.5371 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.9139, allocations: 1.469 kB / 0.5371 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.9141, allocations: 36.02 kB / 0.5372 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.9141, allocations: 0 / 0.5372 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.9142, allocations: 5.141 kB / 0.5372 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9142, allocations: 0 / 0.5372 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.9142, allocations: 1.219 kB / 0.5372 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.9147, allocations: 146.7 kB / 0.5373 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.9148, allocations: 20.86 kB / 0.5373 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.9148, allocations: 5.984 kB / 0.5373 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.9149, allocations: 1.219 kB / 0.5373 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.915, allocations: 69.17 kB / 0.5374 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.365e-06/0.915, allocations: 0 / 0.5374 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003331/0.9153, allocations: 66.2 kB / 0.5375 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.9154, allocations: 82.42 kB / 0.5375 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.9155, allocations: 89.86 kB / 0.5376 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.9156, allocations: 26.83 kB / 0.5376 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.9156, allocations: 80.14 kB / 0.5377 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.9157, allocations: 5.031 kB / 0.5377 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.9157, allocations: 19.77 kB / 0.5377 GB, free: 9.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.916, allocations: 312 kB / 0.538 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.916, allocations: 0 / 0.538 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.916, allocations: 5.25 kB / 0.538 GB, free: 9.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.9161, allocations: 60.02 kB / 0.5381 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9162, allocations: 0 / 0.5381 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001477/0.9163, allocations: 70.8 kB / 0.5382 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.69e-05/0.9164, allocations: 34.58 kB / 0.5382 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9164, allocations: 0 / 0.5382 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.9165, allocations: 1.312 kB / 0.5382 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/0.9165, allocations: 0 / 0.5382 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.9165, allocations: 1.219 kB / 0.5382 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.9165, allocations: 11.98 kB / 0.5382 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.9166, allocations: 1.156 kB / 0.5382 GB, free: 8.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.9167, allocations: 137.7 kB / 0.5383 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.9168, allocations: 5 kB / 0.5384 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.9168, allocations: 11.09 kB / 0.5384 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.9168, allocations: 0 / 0.5384 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.9169, allocations: 1.094 kB / 0.5384 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.9169, allocations: 77.11 kB / 0.5384 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.917, allocations: 1.188 kB / 0.5384 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.917, allocations: 9.25 kB / 0.5384 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.917, allocations: 0 / 0.5384 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002521/0.9173, allocations: 199.7 kB / 0.5386 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004725/0.9178, allocations: 235.2 kB / 0.5389 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.425e-05/0.9178, allocations: 6.047 kB / 0.5389 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.9179, allocations: 80.5 kB / 0.5389 GB, free: 8.152 MB / 398.1 MB Notification: Performance of Backend: time 4.358e-06/0.9179, allocations: 0 / 0.5389 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.9207, allocations: 430.6 kB / 0.5394 GB, free: 7.902 MB / 398.1 MB Notification: Performance of SimCode: time 0.001774/0.9225, allocations: 0.5753 MB / 0.5399 GB, free: 7.273 MB / 398.1 MB Notification: Performance of Templates: time 0.02521/0.9478, allocations: 2.138 MB / 0.542 GB, free: 6.164 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches