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.001619/0.001619, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001835/0.001835, allocations: 213.1 kB / 24.54 MB, free: 4.016 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.484/1.484, allocations: 230.3 MB / 258 MB, free: 8.23 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.2337/0.2337, allocations: 46.89 MB / 361.3 MB, free: 4.422 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.002526/0.002526, allocations: 75.88 kB / 0.4966 GB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3035, allocations: 66.03 MB / 0.561 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001597/0.3051, allocations: 481 kB / 0.5615 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.3077, allocations: 1.366 MB / 0.5628 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.3077, allocations: 0 / 0.5628 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.3077, allocations: 4 kB / 0.5628 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.3077, allocations: 0 / 0.5628 GB, free: 2.832 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.001525/0.3092, allocations: 0.6076 MB / 0.5634 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.316e-05/0.3093, allocations: 4 kB / 0.5634 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.3093, allocations: 3.938 kB / 0.5634 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.242e-05/0.3093, allocations: 0 / 0.5634 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.588e-05/0.3093, allocations: 0 / 0.5634 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.259e-06/0.3094, allocations: 3.938 kB / 0.5634 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0239/0.3333, allocations: 3.42 MB / 0.5668 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.3333, allocations: 4 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.3333, allocations: 3.938 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.3337, allocations: 163.7 kB / 0.5669 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3337, allocations: 3.938 kB / 0.5669 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3337, allocations: 4 kB / 0.5669 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3337, allocations: 0 / 0.5669 GB, free: 15.37 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.0004352/0.3341, allocations: 388.9 kB / 0.5673 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3342, allocations: 8.031 kB / 0.5673 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.3342, allocations: 34.75 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.3342, allocations: 0.9375 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3343, allocations: 160.4 kB / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.3343, allocations: 384 / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3344, allocations: 384 / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.104e-05/0.3344, allocations: 38.25 kB / 0.5675 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3345, allocations: 3.938 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.3345, allocations: 0 / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3345, allocations: 0 / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.3345, allocations: 3.938 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.3346, allocations: 149.7 kB / 0.5677 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.637e-05/0.3347, allocations: 14.58 kB / 0.5677 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.3347, allocations: 4.859 kB / 0.5677 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.3347, allocations: 8.094 kB / 0.5677 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.3347, allocations: 60.25 kB / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3347, allocations: 0 / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001857/0.3349, allocations: 71.28 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.335, allocations: 77.11 kB / 0.5679 GB, free: 14.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.335, allocations: 89.86 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3351, allocations: 25.7 kB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.3351, allocations: 84.27 kB / 0.5681 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.3351, allocations: 0 / 0.5681 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3352, allocations: 17.7 kB / 0.5681 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3353, allocations: 314.8 kB / 0.5684 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.3353, allocations: 0 / 0.5684 GB, free: 13.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.3353, allocations: 7.938 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.27e-05/0.3354, allocations: 64.2 kB / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3354, allocations: 0 / 0.5685 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.167e-05/0.3354, allocations: 67.39 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.3355, allocations: 33.7 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3355, allocations: 3.938 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3355, allocations: 0 / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3355, allocations: 0 / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3355, allocations: 0 / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.3355, allocations: 3.953 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3355, allocations: 4 kB / 0.5686 GB, free: 13.38 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.999e-05/0.3356, allocations: 140.9 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.3356, allocations: 3.984 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.238e-05/0.3356, allocations: 6.938 kB / 0.5688 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-06/0.3357, allocations: 8 kB / 0.5688 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3357, allocations: 0 / 0.5688 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3357, allocations: 0 / 0.5688 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3358, allocations: 145.6 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3358, allocations: 0 / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3358, allocations: 0 / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3358, allocations: 3.984 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3358, allocations: 7.938 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3358, allocations: 4 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3358, allocations: 0 / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.3359, allocations: 90.78 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.3359, allocations: 85.08 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3359, allocations: 3.938 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.336, allocations: 0 / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.336, allocations: 0 / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.336, allocations: 8.031 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.336, allocations: 79.28 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 0 / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3363, allocations: 71.8 kB / 0.5692 GB, free: 12.63 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.00143/0.3377, allocations: 0.9351 MB / 0.5702 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.3378, allocations: 59.39 kB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3378, allocations: 0 / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.3379, allocations: 55.41 kB / 0.5703 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.338, allocations: 4 kB / 0.5703 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.3384, allocations: 146.6 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3387, allocations: 0.669 MB / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.27e-06/0.3387, allocations: 0 / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.3387, allocations: 11.44 kB / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3387, allocations: 0 / 0.5711 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.364, allocations: 3.25 MB / 0.5742 GB, free: 7.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.272, allocations: 0 / 0.5742 GB, free: 7.5 MB / 414.1 MB " [Timeout remaining time 652] (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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.199416837189347]