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.001891/0.001891, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002503/0.002503, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.557/1.557, allocations: 230.5 MB / 254 MB, free: 15.14 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.2433/0.2433, allocations: 46.91 MB / 357 MB, free: 10.19 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.002634/0.002634, allocations: 79.88 kB / 0.4909 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1301, allocations: 66.04 MB / 0.5554 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002234/0.1323, allocations: 492.7 kB / 0.5559 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.1354, allocations: 1.333 MB / 0.5572 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.1355, allocations: 0 / 0.5572 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1355, allocations: 4 kB / 0.5572 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.1355, allocations: 0 / 0.5572 GB, free: 3.727 MB / 414.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.001944/0.1374, allocations: 0.6076 MB / 0.5578 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.1375, allocations: 3.984 kB / 0.5578 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.1375, allocations: 7.938 kB / 0.5578 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.1376, allocations: 3.938 kB / 0.5578 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/0.1376, allocations: 0 / 0.5578 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.1376, allocations: 0 / 0.5578 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02472/0.1623, allocations: 3.405 MB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1623, allocations: 3.984 kB / 0.5612 GB, free: 452 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.1624, allocations: 0 / 0.5612 GB, free: 452 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.1628, allocations: 167.6 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1628, allocations: 0 / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1628, allocations: 4 kB / 0.5613 GB, free: 280 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1628, allocations: 0 / 0.5613 GB, free: 280 kB / 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.0004508/0.1633, allocations: 384.9 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1633, allocations: 8.031 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.1633, allocations: 30.75 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.1634, allocations: 0.9375 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1635, allocations: 164.4 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1635, allocations: 4.375 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1635, allocations: 384 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.1636, allocations: 34.25 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1636, allocations: 3.938 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1636, allocations: 4 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1636, allocations: 0 / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.1637, allocations: 3.938 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1638, allocations: 149.7 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.381e-05/0.1638, allocations: 18.61 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.1639, allocations: 8.859 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.1639, allocations: 0 / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.1639, allocations: 56.27 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1639, allocations: 0 / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001862/0.1641, allocations: 71.33 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1642, allocations: 85.11 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.031e-05/0.1642, allocations: 89.86 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1642, allocations: 25.7 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1643, allocations: 84.27 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1643, allocations: 3.938 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.1643, allocations: 13.72 kB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1645, allocations: 310.8 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.1645, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-06/0.1645, allocations: 3.938 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.1645, allocations: 68.25 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1645, allocations: 4.062 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.784e-05/0.1646, allocations: 63.34 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.1647, allocations: 29.7 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1647, allocations: 3.938 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1647, allocations: 4 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.1647, allocations: 0 / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1647, allocations: 0 / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.1647, allocations: 7.938 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1647, allocations: 0 / 0.563 GB, free: 14.29 MB / 430.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.0001065/0.1648, allocations: 143.6 kB / 0.5631 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.1648, allocations: 0 / 0.5631 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/0.1648, allocations: 7.062 kB / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1648, allocations: 0 / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1649, allocations: 0 / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1649, allocations: 0 / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.165, allocations: 153.7 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.165, allocations: 0 / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.165, allocations: 0 / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.165, allocations: 0 / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.165, allocations: 3.938 kB / 0.5633 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.165, allocations: 4 kB / 0.5633 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.165, allocations: 0 / 0.5633 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1651, allocations: 94.77 kB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1652, allocations: 77.11 kB / 0.5634 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1652, allocations: 7.938 kB / 0.5634 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.1652, allocations: 0 / 0.5634 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1652, allocations: 0 / 0.5634 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1652, allocations: 4.031 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.1652, allocations: 75.28 kB / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1652, allocations: 0 / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1656, allocations: 79.73 kB / 0.5636 GB, free: 13.54 MB / 430.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.001676/0.1672, allocations: 0.9415 MB / 0.5645 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1674, allocations: 59.41 kB / 0.5646 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1674, allocations: 4 kB / 0.5646 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.1674, allocations: 51.41 kB / 0.5646 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.1676, allocations: 7.938 kB / 0.5646 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.168, allocations: 146.6 kB / 0.5648 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1683, allocations: 0.6729 MB / 0.5654 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.534e-06/0.1683, allocations: 0 / 0.5654 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1684, allocations: 11.44 kB / 0.5654 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1684, allocations: 0 / 0.5654 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.1976, allocations: 3.226 MB / 0.5686 GB, free: 8.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.433, allocations: 0 / 0.5686 GB, free: 8.422 MB / 430.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.csv","/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: 11.597958627040498]