Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2478/0.2478, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.88 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4631, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001834/0.4649, allocations: 0.4901 MB / 0.5194 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.4674, allocations: 1.295 MB / 0.5206 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.4675, allocations: 4 kB / 0.5206 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.4675, allocations: 0 / 0.5206 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.4675, allocations: 0 / 0.5206 GB, free: 2.469 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:4:3-220: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.002036/0.4696, allocations: 0.5704 MB / 0.5212 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.4697, allocations: 2.75 kB / 0.5212 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.4697, allocations: 5.406 kB / 0.5212 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.4697, allocations: 1.062 kB / 0.5212 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.4698, allocations: 5.219 kB / 0.5212 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-06/0.4698, allocations: 4 kB / 0.5212 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.014/0.4838, allocations: 2.529 MB / 0.5237 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.4838, allocations: 0 / 0.5237 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.4839, allocations: 2 kB / 0.5237 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.485, allocations: 161.3 kB / 0.5238 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.485, allocations: 1.5 kB / 0.5238 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.628e-06/0.485, allocations: 0 / 0.5238 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.485, allocations: 0.6094 kB / 0.5238 GB, free: 1.488 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006226/0.4857, allocations: 383.6 kB / 0.5242 GB, free: 1.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.4857, allocations: 9.719 kB / 0.5242 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.4858, allocations: 2.219 kB / 0.5242 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.4859, allocations: 161.8 kB / 0.5244 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4859, allocations: 2.375 kB / 0.5244 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.4859, allocations: 384 / 0.5244 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4861, allocations: 33.17 kB / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4861, allocations: 0 / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4861, allocations: 0 / 0.5244 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4861, allocations: 5.656 kB / 0.5244 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.637e-05/0.4862, allocations: 10.36 kB / 0.5244 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.4864, allocations: 151 kB / 0.5245 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.034e-05/0.4864, allocations: 17.88 kB / 0.5246 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.4865, allocations: 5.859 kB / 0.5246 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.4865, allocations: 0 / 0.5246 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.4866, allocations: 66.78 kB / 0.5246 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.4866, allocations: 0 / 0.5246 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002549/0.4868, allocations: 68.86 kB / 0.5247 GB, free: 480 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.4869, allocations: 83.38 kB / 0.5248 GB, free: 380 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.039e-05/0.4869, allocations: 89.86 kB / 0.5249 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.4869, allocations: 27.62 kB / 0.5249 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.4869, allocations: 80.14 kB / 0.525 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.487, allocations: 3.938 kB / 0.525 GB, free: 160 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.487, allocations: 13.03 kB / 0.525 GB, free: 144 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4871, allocations: 316.6 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.4872, allocations: 0 / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-06/0.4872, allocations: 3.047 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.4873, allocations: 63.75 kB / 0.5253 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4873, allocations: 3.938 kB / 0.5254 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.4874, allocations: 64.06 kB / 0.5254 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/0.4874, allocations: 41.03 kB / 0.5255 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4875, allocations: 4.703 kB / 0.5255 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4875, allocations: 0 / 0.5255 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.4875, allocations: 0 / 0.5255 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4875, allocations: 2.328 kB / 0.5255 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.4875, allocations: 0 / 0.5255 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.4875, allocations: 0 / 0.5255 GB, free: 15.64 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.0001191/0.4877, allocations: 139.6 kB / 0.5256 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.4877, allocations: 6.141 kB / 0.5256 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.853e-05/0.4877, allocations: 7.781 kB / 0.5256 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4877, allocations: 4 kB / 0.5256 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4877, allocations: 0 / 0.5256 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4878, allocations: 1.672 kB / 0.5256 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.4879, allocations: 148.9 kB / 0.5258 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4879, allocations: 0.6094 kB / 0.5258 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/0.4879, allocations: 0 / 0.5258 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4879, allocations: 5.156 kB / 0.5258 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4879, allocations: 1.984 kB / 0.5258 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4879, allocations: 0 / 0.5258 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4879, allocations: 0 / 0.5258 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.4881, allocations: 96.8 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.4881, allocations: 83.5 kB / 0.5259 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4882, allocations: 1.219 kB / 0.5259 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.4882, allocations: 0 / 0.5259 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.4882, allocations: 5.828 kB / 0.5259 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4882, allocations: 0.8906 kB / 0.5259 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.4883, allocations: 76.59 kB / 0.526 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4883, allocations: 0 / 0.526 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.4887, allocations: 72.03 kB / 0.5261 GB, free: 14.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001297/0.49, allocations: 404.6 kB / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.4902, allocations: 62.45 kB / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4902, allocations: 4.062 kB / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.4902, allocations: 58.66 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.4904, allocations: 3.5 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.4907, allocations: 81.22 kB / 0.5267 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.4912, allocations: 0.6787 MB / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.4912, allocations: 0.8438 kB / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.4912, allocations: 10.19 kB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4912, allocations: 0 / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.008408/0.4996, allocations: 2.142 MB / 0.5294 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches