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.001055/0.001055, allocations: 118.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3112, allocations: 62.44 MB / 0.5316 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001368/0.3126, allocations: 490.6 kB / 0.5321 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3149, allocations: 1.298 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.3149, allocations: 0 / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.3149, allocations: 5.219 kB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.518e-06/0.315, allocations: 0 / 0.5334 GB, free: 12.48 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.001323/0.3163, allocations: 0.5777 MB / 0.5339 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.447e-05/0.3163, allocations: 5.375 kB / 0.5339 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.3164, allocations: 1.375 kB / 0.5339 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.351e-05/0.3164, allocations: 1.375 kB / 0.5339 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.635e-05/0.3164, allocations: 0 / 0.5339 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.3164, allocations: 0 / 0.5339 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.329, allocations: 2.532 MB / 0.5364 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.3291, allocations: 0 / 0.5364 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.3291, allocations: 1.062 kB / 0.5364 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.3295, allocations: 163.5 kB / 0.5366 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3295, allocations: 0 / 0.5366 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3295, allocations: 0 / 0.5366 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3295, allocations: 0 / 0.5366 GB, free: 11.06 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.0003681/0.3299, allocations: 379 kB / 0.5369 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3299, allocations: 13.41 kB / 0.537 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.33, allocations: 0.9375 kB / 0.537 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.052e-05/0.3301, allocations: 165.8 kB / 0.5371 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3301, allocations: 384 / 0.5371 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.3301, allocations: 1.375 kB / 0.5371 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/0.3302, allocations: 32.17 kB / 0.5371 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-06/0.3302, allocations: 3.938 kB / 0.5371 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3302, allocations: 1.062 kB / 0.5371 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3302, allocations: 0 / 0.5371 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.3302, allocations: 5.219 kB / 0.5372 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.3304, allocations: 147.1 kB / 0.5373 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.266e-05/0.3304, allocations: 20.53 kB / 0.5373 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.3304, allocations: 5.922 kB / 0.5373 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.3304, allocations: 0.9688 kB / 0.5373 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.3305, allocations: 65.14 kB / 0.5374 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.545e-06/0.3305, allocations: 0 / 0.5374 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.3307, allocations: 75.45 kB / 0.5375 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3307, allocations: 78.33 kB / 0.5375 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.416e-05/0.3308, allocations: 89.86 kB / 0.5376 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3308, allocations: 25.7 kB / 0.5376 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.3308, allocations: 81.33 kB / 0.5377 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3308, allocations: 0 / 0.5377 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.3309, allocations: 15.88 kB / 0.5377 GB, free: 9.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.331, allocations: 312.1 kB / 0.538 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.331, allocations: 4 kB / 0.538 GB, free: 9.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.331, allocations: 1.188 kB / 0.538 GB, free: 9.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.705e-05/0.3311, allocations: 67.59 kB / 0.5381 GB, free: 9.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3311, allocations: 1.125 kB / 0.5381 GB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.703e-05/0.3311, allocations: 58.22 kB / 0.5382 GB, free: 9.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.3312, allocations: 39.27 kB / 0.5382 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3312, allocations: 3.938 kB / 0.5382 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3312, allocations: 0 / 0.5382 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3312, allocations: 5.344 kB / 0.5382 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3312, allocations: 0 / 0.5382 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.3312, allocations: 5.062 kB / 0.5382 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.3313, allocations: 0 / 0.5382 GB, free: 9.199 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 7.684e-05/0.3313, allocations: 142.9 kB / 0.5383 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.3314, allocations: 3.938 kB / 0.5383 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-06/0.3314, allocations: 4.281 kB / 0.5383 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.3314, allocations: 0 / 0.5383 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3314, allocations: 0 / 0.5383 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.3314, allocations: 86.22 kB / 0.5384 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3314, allocations: 1.031 kB / 0.5384 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.3314, allocations: 0.9688 kB / 0.5384 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.3315, allocations: 3.984 kB / 0.5384 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001172/0.3316, allocations: 199.8 kB / 0.5386 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001341/0.3317, allocations: 243.8 kB / 0.5389 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.5e-05/0.3317, allocations: 5.25 kB / 0.5389 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.3318, allocations: 76.44 kB / 0.5389 GB, free: 8.398 MB / 398.1 MB Notification: Performance of Backend: time 1.493e-06/0.3318, allocations: 3.938 kB / 0.5389 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3328, allocations: 429.2 kB / 0.5394 GB, free: 8.145 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003347/0.3331, allocations: 0.5801 MB / 0.5399 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Templates: time 0.004843/0.338, allocations: 2.144 MB / 0.542 GB, free: 6.398 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