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: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 79.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2908, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001431/0.2923, allocations: 486.7 kB / 0.531 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.2946, allocations: 1.301 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.2947, allocations: 0 / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.2947, allocations: 0 / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.2947, allocations: 1.25 kB / 0.5322 GB, free: 12.08 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.001604/0.2963, allocations: 0.5781 MB / 0.5328 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.2964, allocations: 1.781 kB / 0.5328 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.2964, allocations: 0 / 0.5328 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.2964, allocations: 5.812 kB / 0.5328 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.084e-05/0.2965, allocations: 0 / 0.5328 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-06/0.2965, allocations: 3.938 kB / 0.5328 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/0.3096, allocations: 2.526 MB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.3096, allocations: 0 / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3096, allocations: 1.062 kB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.3101, allocations: 167.1 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3101, allocations: 0 / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3101, allocations: 0 / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3101, allocations: 5.094 kB / 0.5354 GB, free: 10.66 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.0003594/0.3105, allocations: 374.4 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3105, allocations: 9.688 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.3106, allocations: 31.84 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.3106, allocations: 0.9375 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.3107, allocations: 160.4 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3107, allocations: 1.719 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3107, allocations: 5.484 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.069e-05/0.3108, allocations: 39.67 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3108, allocations: 0 / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.3108, allocations: 1.094 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3108, allocations: 0 / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.3109, allocations: 1.188 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.311, allocations: 146.9 kB / 0.5362 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.311, allocations: 25.03 kB / 0.5362 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.3111, allocations: 13.89 kB / 0.5362 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.3111, allocations: 7.938 kB / 0.5362 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.3111, allocations: 57.83 kB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.3111, allocations: 0 / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001616/0.3113, allocations: 59.34 kB / 0.5363 GB, free: 9.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3114, allocations: 86.19 kB / 0.5364 GB, free: 9.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.498e-05/0.3114, allocations: 89.86 kB / 0.5365 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3114, allocations: 25.7 kB / 0.5365 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/0.3114, allocations: 81.23 kB / 0.5366 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3115, allocations: 7.938 kB / 0.5366 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.3115, allocations: 12.12 kB / 0.5366 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.3116, allocations: 311.7 kB / 0.5369 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.3116, allocations: 0.875 kB / 0.5369 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.3116, allocations: 5.031 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.3117, allocations: 63.48 kB / 0.537 GB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3117, allocations: 0 / 0.537 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.244e-05/0.3118, allocations: 70.58 kB / 0.537 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.3118, allocations: 31.89 kB / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3118, allocations: 0 / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3118, allocations: 3.938 kB / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3118, allocations: 1.25 kB / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3118, allocations: 0 / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.3119, allocations: 1.188 kB / 0.5371 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3119, allocations: 0 / 0.5371 GB, free: 8.766 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.885e-05/0.312, allocations: 138.4 kB / 0.5372 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.312, allocations: 21.11 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-06/0.312, allocations: 3.125 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.312, allocations: 0 / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.312, allocations: 1.281 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.312, allocations: 0 / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.73e-05/0.3121, allocations: 147 kB / 0.5374 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3121, allocations: 1.25 kB / 0.5374 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.3121, allocations: 3.938 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3121, allocations: 0 / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3121, allocations: 9.453 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3121, allocations: 4 kB / 0.5374 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3121, allocations: 0 / 0.5374 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.315e-05/0.3122, allocations: 93.64 kB / 0.5375 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.3123, allocations: 82.14 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.3123, allocations: 1.062 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.3123, allocations: 1.125 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.3123, allocations: 0 / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3123, allocations: 1.094 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.266e-05/0.3124, allocations: 79.31 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3124, allocations: 5.031 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.3127, allocations: 69.02 kB / 0.5377 GB, free: 8.09 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.001135/0.3138, allocations: 0.9166 MB / 0.5386 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.905e-05/0.3139, allocations: 65.19 kB / 0.5387 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.314, allocations: 4 kB / 0.5387 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.314, allocations: 62.77 kB / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.3141, allocations: 1.156 kB / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.3145, allocations: 139.1 kB / 0.5389 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.3147, allocations: 0.6701 MB / 0.5395 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.42e-06/0.3147, allocations: 0 / 0.5395 GB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.3147, allocations: 10.47 kB / 0.5395 GB, free: 6.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3147, allocations: 0 / 0.5395 GB, free: 6.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.3347, allocations: 3.117 MB / 0.5426 GB, free: 4.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.793, allocations: 11.17 kB / 0.5426 GB, free: 4.613 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings.fmu > 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