Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 47.91 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002709/0.1062, allocations: 1.423 MB / 419.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001734/0.1063, allocations: 27.91 kB / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.1064, allocations: 4 kB / 419.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.1064, allocations: 3.938 kB / 419.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.1065, allocations: 3.938 kB / 419.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1067, allocations: 26.97 kB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.1068, allocations: 31.86 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.1069, allocations: 4 kB / 419.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.1069, allocations: 11.92 kB / 419.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.1069, allocations: 11.94 kB / 419.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.107, allocations: 8 kB / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.107, allocations: 4 kB / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.107, allocations: 11.97 kB / 419.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.107, allocations: 11.94 kB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.265e-05/0.1071, allocations: 31.78 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1071, allocations: 4 kB / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1071, allocations: 0 / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1071, allocations: 0 / 419.4 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005208/0.1076, allocations: 343.4 kB / 419.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1077, allocations: 8.031 kB / 419.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.1077, allocations: 42.73 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.1078, allocations: 4.938 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.108, allocations: 192.1 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.108, allocations: 4.375 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1081, allocations: 4.375 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.1084, allocations: 119.8 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1084, allocations: 7.938 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1084, allocations: 0 / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1084, allocations: 0 / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1086, allocations: 19.98 kB / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1087, allocations: 165.6 kB / 420.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1089, allocations: 54.53 kB / 420.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.109, allocations: 24.92 kB / 420.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.109, allocations: 8 kB / 420.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.109, allocations: 30.56 kB / 420.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.109, allocations: 0 / 420.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002796/0.1093, allocations: 89.48 kB / 420.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1093, allocations: 51.41 kB / 420.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.1094, allocations: 105.8 kB / 420.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1095, allocations: 25.7 kB / 420.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.1095, allocations: 88.08 kB / 420.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.1095, allocations: 8 kB / 420.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1096, allocations: 21.7 kB / 420.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1097, allocations: 314.8 kB / 421.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.1097, allocations: 4 kB / 421.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.1098, allocations: 31.42 kB / 421.1 MB, free: 9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.1098, allocations: 39.38 kB / 421.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1098, allocations: 0 / 421.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.811e-05/0.1099, allocations: 61.58 kB / 421.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1099, allocations: 14.06 kB / 421.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1099, allocations: 4 kB / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1099, allocations: 128 / 421.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.11, allocations: 12 kB / 421.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.11, allocations: 0 / 421.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.11, allocations: 4 kB / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.11, allocations: 4 kB / 421.3 MB, free: 8.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 0.0001457/0.1102, allocations: 113.8 kB / 421.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.1103, allocations: 69.55 kB / 421.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.1103, allocations: 7.906 kB / 421.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1103, allocations: 0 / 421.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1103, allocations: 7.938 kB / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1104, allocations: 384 / 421.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.1105, allocations: 161.7 kB / 421.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1105, allocations: 4 kB / 421.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.1105, allocations: 8 kB / 421.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1105, allocations: 3.938 kB / 421.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1105, allocations: 0 / 421.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1105, allocations: 7.984 kB / 421.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1105, allocations: 3.984 kB / 421.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1108, allocations: 93.06 kB / 421.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.1108, allocations: 81.05 kB / 421.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1108, allocations: 3.938 kB / 421.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.1109, allocations: 7.984 kB / 421.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-06/0.1109, allocations: 3.938 kB / 421.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1109, allocations: 0 / 421.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.449e-05/0.1109, allocations: 87.28 kB / 421.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1109, allocations: 0 / 421.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001793/0.1111, allocations: 4 kB / 421.9 MB, free: 8.082 MB / 350.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0007112/0.1118, allocations: 0.6595 MB / 422.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.1119, allocations: 31.92 kB / 422.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1119, allocations: 0 / 422.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1119, allocations: 0 / 422.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1122, allocations: 34.56 kB / 422.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1133, allocations: 1.177 MB / 423.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1136, allocations: 0.6844 MB / 424.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.934e-05/0.1136, allocations: 4 kB / 424.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1137, allocations: 15.44 kB / 424.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1137, allocations: 0 / 424.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/0.2254, allocations: 1.384 MB / 425.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/7.93, allocations: 17.2 kB / 425.9 MB, free: 4.066 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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: 10.331862926017493]