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.001485/0.001485, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2933, allocations: 62.45 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001398/0.2947, allocations: 481.6 kB / 0.5309 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2969, allocations: 1.3 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.297, allocations: 1.625 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.297, allocations: 4 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.297, allocations: 0 / 0.5322 GB, free: 12.07 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.001399/0.2984, allocations: 0.5744 MB / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.2985, allocations: 1.375 kB / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.2985, allocations: 1.375 kB / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.299e-05/0.2985, allocations: 0 / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.005e-05/0.2985, allocations: 1.375 kB / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.2986, allocations: 7.938 kB / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.3112, allocations: 2.524 MB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.3112, allocations: 1.062 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.3112, allocations: 1.125 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.3116, allocations: 166.7 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3116, allocations: 0 / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3116, allocations: 0 / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.3116, allocations: 1.094 kB / 0.5354 GB, free: 10.65 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.0003568/0.312, allocations: 378.4 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3121, allocations: 9.719 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.3121, allocations: 30.75 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.3121, allocations: 6.031 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.88e-05/0.3122, allocations: 164.4 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3122, allocations: 1.531 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.3122, allocations: 1.344 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.3123, allocations: 31.39 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3123, allocations: 0 / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.3124, allocations: 4.938 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.3124, allocations: 0 / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.3124, allocations: 2.094 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.3125, allocations: 158.3 kB / 0.5362 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.3126, allocations: 20.83 kB / 0.5362 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.3126, allocations: 5.984 kB / 0.5362 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.3126, allocations: 5 kB / 0.5362 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.3126, allocations: 61.27 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3127, allocations: 0 / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.3128, allocations: 66.77 kB / 0.5363 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.3129, allocations: 78.27 kB / 0.5364 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.443e-05/0.3129, allocations: 93.86 kB / 0.5365 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3129, allocations: 26.64 kB / 0.5365 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.3129, allocations: 80.14 kB / 0.5366 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.313, allocations: 8.938 kB / 0.5366 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.313, allocations: 15.91 kB / 0.5366 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.3131, allocations: 311.8 kB / 0.5369 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.3131, allocations: 0 / 0.5369 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.3131, allocations: 1.875 kB / 0.5369 GB, free: 8.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.209e-05/0.3132, allocations: 67.06 kB / 0.537 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3132, allocations: 0 / 0.537 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.751e-05/0.3133, allocations: 66.12 kB / 0.537 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.3133, allocations: 31.42 kB / 0.5371 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3133, allocations: 5.594 kB / 0.5371 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3133, allocations: 3.984 kB / 0.5371 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.3133, allocations: 3.984 kB / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3134, allocations: 0.5 kB / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.3134, allocations: 1.312 kB / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.3134, allocations: 0 / 0.5371 GB, free: 8.742 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.67e-05/0.3135, allocations: 134.5 kB / 0.5372 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.3135, allocations: 5.5 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.356e-06/0.3135, allocations: 3.125 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3135, allocations: 4 kB / 0.5372 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3135, allocations: 0 / 0.5372 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3135, allocations: 1.344 kB / 0.5372 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.865e-05/0.3136, allocations: 150.8 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3136, allocations: 0 / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-06/0.3136, allocations: 5 kB / 0.5374 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3136, allocations: 0 / 0.5374 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3136, allocations: 9.047 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3136, allocations: 0 / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3137, allocations: 1.188 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.3138, allocations: 101.1 kB / 0.5375 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.3138, allocations: 81.05 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3138, allocations: 1.156 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-06/0.3138, allocations: 1.094 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.3138, allocations: 1.125 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3139, allocations: 1.25 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.3139, allocations: 75.28 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3139, allocations: 4.031 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.3142, allocations: 69.73 kB / 0.5377 GB, free: 8.078 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.001138/0.3153, allocations: 0.9093 MB / 0.5386 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.3155, allocations: 73.27 kB / 0.5387 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3155, allocations: 4 kB / 0.5387 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.3155, allocations: 55 kB / 0.5387 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.3157, allocations: 8.125 kB / 0.5387 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.316, allocations: 134.4 kB / 0.5389 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3162, allocations: 0.6741 MB / 0.5395 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.514e-06/0.3162, allocations: 3.984 kB / 0.5395 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.3162, allocations: 10.5 kB / 0.5395 GB, free: 6.324 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3162, allocations: 0 / 0.5395 GB, free: 6.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.3368, allocations: 3.109 MB / 0.5426 GB, free: 4.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.935, allocations: 17.8 kB / 0.5426 GB, free: 4.602 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