Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001809/0.001809, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002138/0.002138, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.441/1.441, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1086, allocations: 53.38 MB / 426.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003153/0.1117, allocations: 1.525 MB / 427.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004539/0.1122, allocations: 151.5 kB / 428 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1123, allocations: 3.938 kB / 428 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.1123, allocations: 3.938 kB / 428 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.1125, allocations: 11.94 kB / 428 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1128, allocations: 35.89 kB / 428.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1129, allocations: 31.92 kB / 428.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.113, allocations: 11.94 kB / 428.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.113, allocations: 19.91 kB / 428.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.1131, allocations: 19.86 kB / 428.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1131, allocations: 0 / 428.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.1131, allocations: 4 kB / 428.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.1132, allocations: 12 kB / 428.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.1132, allocations: 19.81 kB / 428.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1133, allocations: 55.67 kB / 428.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1133, allocations: 0 / 428.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1133, allocations: 0 / 428.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1133, allocations: 3.938 kB / 428.2 MB, free: 2.719 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005083/0.1139, allocations: 371.2 kB / 428.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1139, allocations: 12.03 kB / 428.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1139, allocations: 30.75 kB / 428.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.114, allocations: 12.89 kB / 428.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1142, allocations: 197.9 kB / 428.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1142, allocations: 384 / 428.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1142, allocations: 4.375 kB / 428.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1145, allocations: 117.5 kB / 429 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1145, allocations: 3.938 kB / 429 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1146, allocations: 4 kB / 429 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1146, allocations: 0 / 429 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.1146, allocations: 15.98 kB / 429 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.115, allocations: 261.8 kB / 429.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1152, allocations: 142.2 kB / 429.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.1153, allocations: 29.75 kB / 429.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1153, allocations: 0 / 429.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1153, allocations: 38.5 kB / 429.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1153, allocations: 4 kB / 429.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000261/0.1156, allocations: 77.56 kB / 429.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1156, allocations: 77.11 kB / 429.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1158, allocations: 134.1 kB / 429.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1158, allocations: 29.7 kB / 429.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.1158, allocations: 84.14 kB / 429.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.1158, allocations: 8.016 kB / 429.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1159, allocations: 25.72 kB / 429.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.116, allocations: 322.8 kB / 430.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.1161, allocations: 4 kB / 430.2 MB, free: 484 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.1161, allocations: 35.42 kB / 430.2 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.015e-05/0.1162, allocations: 47.36 kB / 430.3 MB, free: 376 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1162, allocations: 3.938 kB / 430.3 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001522/0.1164, allocations: 69.55 kB / 430.4 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1164, allocations: 4 kB / 430.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1164, allocations: 128 / 430.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1164, allocations: 8 kB / 430.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.1164, allocations: 8 kB / 430.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1165, allocations: 0 / 430.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.1165, allocations: 7.953 kB / 430.4 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1165, allocations: 3.984 kB / 430.4 MB, free: 264 kB / 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.206e-05/0.1166, allocations: 121.8 kB / 430.5 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.1167, allocations: 45.62 kB / 430.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.1167, allocations: 12.25 kB / 430.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1167, allocations: 4 kB / 430.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1167, allocations: 4 kB / 430.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1167, allocations: 4 kB / 430.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1169, allocations: 177.5 kB / 430.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1169, allocations: 0 / 430.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.117, allocations: 11.98 kB / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.117, allocations: 0 / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.117, allocations: 0 / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.117, allocations: 4 kB / 430.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.117, allocations: 0 / 430.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1172, allocations: 172.2 kB / 430.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.1172, allocations: 93.09 kB / 431 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1173, allocations: 0 / 431 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.544e-05/0.1173, allocations: 0 / 431 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1173, allocations: 4 kB / 431 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1173, allocations: 0 / 431 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.1174, allocations: 116.6 kB / 431.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1174, allocations: 0 / 431.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1176, allocations: 11.94 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004924/0.1181, allocations: 0.698 MB / 431.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1183, allocations: 31.95 kB / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1183, allocations: 0 / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.1183, allocations: 15.92 kB / 431.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1186, allocations: 19.97 kB / 431.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.12, allocations: 1.324 MB / 433.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.1203, allocations: 0.6924 MB / 433.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.1203, allocations: 8 kB / 433.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.1204, allocations: 15.38 kB / 434 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1204, allocations: 0 / 434 MB, free: 12.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.1476, allocations: 1.454 MB / 435.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.664, allocations: 16.03 kB / 435.4 MB, free: 11.06 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,step.startTime,assignClock.u,assignClock.y,sample1.y,step.y [Calling sys.exit(0), Time elapsed: 10.344858506927267]