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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 120.4 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 211.2 kB / 23.74 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.91 MB / 360.8 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 79.86 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3098, allocations: 66.08 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001546/0.3114, allocations: 485.1 kB / 0.5612 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.314, allocations: 1.362 MB / 0.5625 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.588e-05/0.314, allocations: 0 / 0.5625 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.3141, allocations: 0 / 0.5625 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-06/0.3141, allocations: 0 / 0.5625 GB, free: 2.426 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-230: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.001575/0.3156, allocations: 0.6077 MB / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.3157, allocations: 7.922 kB / 0.5631 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.3157, allocations: 11.98 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.307e-05/0.3157, allocations: 0 / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.906e-05/0.3158, allocations: 3.938 kB / 0.5631 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-06/0.3158, allocations: 0 / 0.5631 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02451/0.3403, allocations: 3.404 MB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.3403, allocations: 4 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.3403, allocations: 3.938 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.3408, allocations: 171.7 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3408, allocations: 0 / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3408, allocations: 0 / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3409, allocations: 0 / 0.5666 GB, free: 14.97 MB / 414.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.0004171/0.3413, allocations: 307.8 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3413, allocations: 8.031 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.3414, allocations: 30.75 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.3414, allocations: 8.938 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.166e-05/0.3415, allocations: 106.5 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3415, allocations: 384 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.3415, allocations: 384 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.3416, allocations: 38.19 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3416, allocations: 7.875 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3416, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.3416, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.3416, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.3418, allocations: 120.8 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.471e-05/0.3418, allocations: 18.58 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.3418, allocations: 8.953 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.3419, allocations: 0 / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/0.3419, allocations: 64.19 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3419, allocations: 0 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001877/0.3421, allocations: 63.34 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3422, allocations: 85.23 kB / 0.5674 GB, free: 13.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/0.3422, allocations: 89.86 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3422, allocations: 25.7 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.3423, allocations: 84.12 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.3423, allocations: 4 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.3423, allocations: 9.719 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3425, allocations: 310.8 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.3425, allocations: 7.938 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.3425, allocations: 4 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.3426, allocations: 68.2 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3426, allocations: 0 / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.662e-05/0.3426, allocations: 59.39 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.3427, allocations: 33.7 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3427, allocations: 7.922 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3427, allocations: 0 / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3427, allocations: 0 / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.3427, allocations: 0 / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.3427, allocations: 12.03 kB / 0.5681 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3427, allocations: 4 kB / 0.5681 GB, free: 13.17 MB / 414.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 9.145e-05/0.3428, allocations: 135.5 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.3428, allocations: 4 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.3428, allocations: 10.94 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3428, allocations: 0 / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3429, allocations: 0 / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3429, allocations: 4 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.343, allocations: 116.7 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.343, allocations: 4 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-06/0.343, allocations: 7.938 kB / 0.5684 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.343, allocations: 3.984 kB / 0.5684 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.343, allocations: 3.938 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.343, allocations: 0 / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.343, allocations: 3.938 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.3431, allocations: 86.84 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-06/0.3431, allocations: 8.016 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.3431, allocations: 3.938 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.3431, allocations: 4 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.3432, allocations: 0 / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3432, allocations: 0 / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.304e-05/0.3432, allocations: 75.28 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3432, allocations: 0 / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.3435, allocations: 75.8 kB / 0.5687 GB, free: 12.55 MB / 414.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.001435/0.3449, allocations: 0.9303 MB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.345, allocations: 63.39 kB / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.345, allocations: 4.062 kB / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.3451, allocations: 51.41 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.3452, allocations: 7.938 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.3456, allocations: 146.5 kB / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.3459, allocations: 0.669 MB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.54e-06/0.3459, allocations: 0 / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.3459, allocations: 11.44 kB / 0.5705 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3459, allocations: 0 / 0.5705 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3757, allocations: 3.349 MB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.58, allocations: 3.438 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.325090270955116]