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.001292/0.001295, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001389, allocations: 203.9 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247 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.2223/0.2223, allocations: 46.13 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 75.88 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3005, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001588/0.3021, allocations: 481.3 kB / 0.5311 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3046, allocations: 1.304 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.3046, allocations: 0 / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.3047, allocations: 1.219 kB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.3047, allocations: 0 / 0.5323 GB, free: 12.04 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.001563/0.3062, allocations: 0.5784 MB / 0.5329 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.3063, allocations: 5.781 kB / 0.5329 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.872e-05/0.3063, allocations: 0 / 0.5329 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.3064, allocations: 5.75 kB / 0.5329 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.737e-05/0.3064, allocations: 0 / 0.5329 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.3064, allocations: 0 / 0.5329 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01673/0.3231, allocations: 2.523 MB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.3232, allocations: 0 / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.3232, allocations: 5 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.3236, allocations: 162.7 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3237, allocations: 0 / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3237, allocations: 5.062 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3237, allocations: 0 / 0.5355 GB, free: 10.63 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.0004711/0.3242, allocations: 386.1 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3242, allocations: 10.38 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.3242, allocations: 30.75 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.3243, allocations: 2.219 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3244, allocations: 164.4 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3244, allocations: 384 / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.3244, allocations: 2.062 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/0.3245, allocations: 35.14 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.3245, allocations: 1.469 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3246, allocations: 0 / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3246, allocations: 0 / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.3246, allocations: 5.141 kB / 0.5362 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.3247, allocations: 146.9 kB / 0.5363 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/0.3248, allocations: 20.98 kB / 0.5363 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.3248, allocations: 9.828 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3248, allocations: 5 kB / 0.5363 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.3249, allocations: 65.27 kB / 0.5364 GB, free: 9.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3249, allocations: 0 / 0.5364 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001796/0.3251, allocations: 67.27 kB / 0.5365 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3252, allocations: 82.39 kB / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.3252, allocations: 89.86 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3252, allocations: 25.7 kB / 0.5366 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.3253, allocations: 81.23 kB / 0.5367 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.3253, allocations: 0 / 0.5367 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3253, allocations: 11.81 kB / 0.5367 GB, free: 9.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3255, allocations: 315.9 kB / 0.537 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.3255, allocations: 5.281 kB / 0.537 GB, free: 8.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.3255, allocations: 1.281 kB / 0.537 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.3256, allocations: 66.58 kB / 0.5371 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3256, allocations: 1.375 kB / 0.5371 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.839e-05/0.3257, allocations: 61.75 kB / 0.5372 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.3257, allocations: 34.59 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3257, allocations: 0.6875 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3257, allocations: 0.7812 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3257, allocations: 0 / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3258, allocations: 0.875 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.3258, allocations: 8.984 kB / 0.5372 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.3258, allocations: 0 / 0.5372 GB, free: 8.723 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.0001027/0.3259, allocations: 138.6 kB / 0.5373 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.3259, allocations: 5.031 kB / 0.5373 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-06/0.3259, allocations: 11.05 kB / 0.5374 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3259, allocations: 3.984 kB / 0.5374 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.326, allocations: 0.9375 kB / 0.5374 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.326, allocations: 0 / 0.5374 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.3261, allocations: 143.5 kB / 0.5375 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3261, allocations: 4 kB / 0.5375 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-06/0.3261, allocations: 8.75 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3261, allocations: 0 / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3261, allocations: 1.219 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-06/0.3261, allocations: 0 / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3261, allocations: 5.062 kB / 0.5375 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.3262, allocations: 93.66 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.3263, allocations: 81.05 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3263, allocations: 9.484 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.3263, allocations: 1.344 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.3264, allocations: 0 / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3264, allocations: 1.312 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.3264, allocations: 75.28 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3264, allocations: 0 / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.3267, allocations: 70.11 kB / 0.5378 GB, free: 8.055 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.001326/0.3281, allocations: 0.9239 MB / 0.5387 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.945e-05/0.3282, allocations: 55.81 kB / 0.5388 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.3282, allocations: 8.781 kB / 0.5388 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.3282, allocations: 58.41 kB / 0.5388 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.3284, allocations: 9.344 kB / 0.5389 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.3287, allocations: 140.1 kB / 0.539 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.329, allocations: 0.674 MB / 0.5396 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.761e-06/0.329, allocations: 1.25 kB / 0.5396 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.3291, allocations: 9.469 kB / 0.5397 GB, free: 6.293 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3291, allocations: 0 / 0.5397 GB, free: 6.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.3534, allocations: 3.112 MB / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.495, allocations: 15.83 kB / 0.5427 GB, free: 4.57 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