Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.00176/0.00176, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.002104/0.002104, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.39/1.39, 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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.91 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09643, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002574/0.099, allocations: 1.514 MB / 419.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003763/0.09938, allocations: 151.5 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.09945, allocations: 3.938 kB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.09949, allocations: 7.875 kB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.09961, allocations: 7.922 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.09982, allocations: 35.91 kB / 419.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.09991, allocations: 31.92 kB / 419.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1, allocations: 19.98 kB / 419.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.1, allocations: 7.938 kB / 419.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.1001, allocations: 23.84 kB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1001, allocations: 0 / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.1001, allocations: 4 kB / 419.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.1002, allocations: 11.98 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.1002, allocations: 23.81 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.1003, allocations: 43.75 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1003, allocations: 4 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1003, allocations: 4 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1003, allocations: 0 / 419.7 MB, free: 10.73 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.0004683/0.1008, allocations: 379 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1008, allocations: 8.031 kB / 420 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.1009, allocations: 38.73 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.1009, allocations: 8.891 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1011, allocations: 184.3 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1012, allocations: 4.375 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1012, allocations: 8.375 kB / 420.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.1014, allocations: 117.5 kB / 420.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1014, allocations: 7.922 kB / 420.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.1014, allocations: 0 / 420.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.1014, allocations: 3.938 kB / 420.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.953e-05/0.1015, allocations: 19.98 kB / 420.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.1018, allocations: 257.8 kB / 420.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.102, allocations: 142.2 kB / 420.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.1021, allocations: 29.78 kB / 420.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1021, allocations: 0 / 420.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.1022, allocations: 38.48 kB / 420.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1022, allocations: 4 kB / 420.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002289/0.1024, allocations: 73.56 kB / 421 MB, free: 9.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.1025, allocations: 85.23 kB / 421 MB, free: 9.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1026, allocations: 130.1 kB / 421.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1026, allocations: 29.7 kB / 421.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.1027, allocations: 84.14 kB / 421.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.1027, allocations: 7.984 kB / 421.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1027, allocations: 17.67 kB / 421.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1028, allocations: 318.8 kB / 421.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.1029, allocations: 15.98 kB / 421.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.1029, allocations: 39.55 kB / 421.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.077e-05/0.103, allocations: 47.36 kB / 421.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.103, allocations: 3.938 kB / 421.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001127/0.1031, allocations: 57.62 kB / 421.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1032, allocations: 8 kB / 421.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1032, allocations: 0 / 421.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1032, allocations: 96 / 421.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.1032, allocations: 19.91 kB / 421.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.1033, allocations: 4 kB / 421.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.1033, allocations: 8.125 kB / 421.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1033, allocations: 4 kB / 421.8 MB, free: 8.254 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: 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.907e-05/0.1034, allocations: 122.4 kB / 421.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.1035, allocations: 45.66 kB / 422 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.1035, allocations: 12.23 kB / 422 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1035, allocations: 0 / 422 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1035, allocations: 3.938 kB / 422 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1035, allocations: 0 / 422 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.1037, allocations: 173.6 kB / 422.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1037, allocations: 4 kB / 422.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1037, allocations: 8 kB / 422.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1037, allocations: 0 / 422.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1037, allocations: 0 / 422.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1037, allocations: 0 / 422.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1037, allocations: 4 kB / 422.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1039, allocations: 168.3 kB / 422.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.104, allocations: 96.98 kB / 422.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.104, allocations: 4 kB / 422.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.1041, allocations: 7.984 kB / 422.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.1041, allocations: 3.938 kB / 422.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1041, allocations: 4 kB / 422.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.536e-05/0.1042, allocations: 101.3 kB / 422.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1042, allocations: 0 / 422.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000212/0.1044, allocations: 12 kB / 422.6 MB, free: 7.391 MB / 350.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.0004852/0.1049, allocations: 0.6976 MB / 423.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.105, allocations: 39.91 kB / 423.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.105, allocations: 256 / 423.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.105, allocations: 11.94 kB / 423.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1053, allocations: 27.95 kB / 423.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1066, allocations: 1.318 MB / 424.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1069, allocations: 0.6922 MB / 425.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.613e-05/0.107, allocations: 7.984 kB / 425.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.107, allocations: 11.44 kB / 425.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.107, allocations: 0 / 425.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06364/0.1706, allocations: 1.483 MB / 426.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/8.415, allocations: 13.23 kB / 426.9 MB, free: 3.047 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.908341375179589]