Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.0008546/0.0008546, allocations: 92.27 kB / 20.96 MB, free: 3.469 MB / 18.57 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.0008395/0.0008395, allocations: 152.9 kB / 24.26 MB, free: 172 kB / 18.57 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 0.8673/0.8673, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2288/0.2288, allocations: 34.25 MB / 295.2 MB, free: 0.6289 MB / 266.7 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.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 376.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.353e-05, allocations: 8.703 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0008477/0.0008612, allocations: 497.3 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.001083, allocations: 107.5 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.001107, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.001119, allocations: 4 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.001315, allocations: 15.92 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.139e-05/0.001326, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.001371, allocations: 15.97 kB / 377.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.001409, allocations: 0 / 377.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.001436, allocations: 3.938 kB / 377.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.001476, allocations: 4 kB / 377.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.001489, allocations: 0 / 377.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.667e-05/0.001556, allocations: 23.97 kB / 377.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.001566, allocations: 0 / 377.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.001581, allocations: 4 kB / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.19e-05/0.001653, allocations: 19.97 kB / 377.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.001655, allocations: 7.922 kB / 377.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.001656, allocations: 0 / 377.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.00166, allocations: 0 / 377.4 MB, free: 2.727 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002229/0.001883, allocations: 246.4 kB / 377.6 MB, free: 2.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.001918, allocations: 8.031 kB / 377.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.491e-05/0.001943, allocations: 30.75 kB / 377.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.00197, allocations: 8.922 kB / 377.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.474e-05/0.002035, allocations: 101.8 kB / 377.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.002046, allocations: 12.31 kB / 377.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.002064, allocations: 8.328 kB / 377.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.367e-05/0.002138, allocations: 30.27 kB / 377.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.002145, allocations: 192 / 377.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.002152, allocations: 384 / 377.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.002157, allocations: 8.109 kB / 377.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.002186, allocations: 8 kB / 377.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.002289, allocations: 116.8 kB / 378 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.002444, allocations: 42.53 kB / 378 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.002465, allocations: 12.86 kB / 378 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.002659, allocations: 44.03 kB / 378.1 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.002674, allocations: 30.56 kB / 378.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.002675, allocations: 0 / 378.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006558/0.003331, allocations: 185.4 kB / 378.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.003356, allocations: 55.41 kB / 378.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.003401, allocations: 93.84 kB / 378.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.00341, allocations: 25.7 kB / 378.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.797e-05/0.003428, allocations: 80.14 kB / 378.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.003452, allocations: 23.8 kB / 378.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.003478, allocations: 17.72 kB / 378.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.003551, allocations: 314.8 kB / 378.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.003597, allocations: 24.17 kB / 378.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.003632, allocations: 19.98 kB / 378.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.003718, allocations: 52.77 kB / 379 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.003719, allocations: 0 / 379 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001053/0.003824, allocations: 73.66 kB / 379 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.003836, allocations: 8 kB / 379 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.00384, allocations: 3.938 kB / 379 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.003852, allocations: 3.938 kB / 379 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.003909, allocations: 15.98 kB / 379.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.003913, allocations: 4 kB / 379.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.003947, allocations: 7.984 kB / 379.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.003952, allocations: 0 / 379.1 MB, free: 0.8477 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 4.663e-05/0.003999, allocations: 109.8 kB / 379.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.004007, allocations: 7.938 kB / 379.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.004145, allocations: 89.3 kB / 379.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.004148, allocations: 7.938 kB / 379.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.004151, allocations: 0 / 379.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004154, allocations: 0 / 379.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.004515, allocations: 330.3 kB / 379.6 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004517, allocations: 256 / 379.6 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.004555, allocations: 12.02 kB / 379.6 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.004558, allocations: 12 kB / 379.6 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.004564, allocations: 0 / 379.6 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.004566, allocations: 0 / 379.6 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.004566, allocations: 0 / 379.6 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.004691, allocations: 180.2 kB / 379.8 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.004697, allocations: 8 kB / 379.8 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.004705, allocations: 0 / 379.8 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.00475, allocations: 7.984 kB / 379.8 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.004761, allocations: 0 / 379.8 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.004764, allocations: 8 kB / 379.8 MB, free: 8 kB / 346.7 MB Notification: Performance of sorting global known variables: time 3.007e-05/0.004794, allocations: 75.28 kB / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004794, allocations: 0 / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.00494, allocations: 12 kB / 379.9 MB, free: 15.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0003027/0.005243, allocations: 0.7132 MB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.005356, allocations: 44.05 kB / 380.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.005357, allocations: 4 kB / 380.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.005394, allocations: 27.92 kB / 380.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.005537, allocations: 4 kB / 380.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.005877, allocations: 186.9 kB / 380.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.00605, allocations: 55.78 kB / 380.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.006078, allocations: 12.05 kB / 380.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.006116, allocations: 16.5 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006117, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.01819, allocations: 2.432 MB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.768, allocations: 6.281 kB / 383.4 MB, free: 12.45 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_OMSimulator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_OMSimulator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_OMSimulator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_OMSimulator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_OMSimulator_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_OMSimulator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_OMSimulator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_OMSimulator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000259896 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_fmpy.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: 8.714793873019516]