Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001275/0.001275, allocations: 121.9 kB / 18.51 MB, free: 4.535 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.001291/0.001291, allocations: 215.2 kB / 21.46 MB, free: 1.582 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.367/1.367, allocations: 230.2 MB / 254.5 MB, free: 15.38 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 67.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1021, allocations: 53.32 MB / 426.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00268/0.1048, allocations: 1.521 MB / 428.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003877/0.1051, allocations: 143.5 kB / 428.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.1052, allocations: 0 / 428.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.1053, allocations: 3.938 kB / 428.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.1054, allocations: 11.92 kB / 428.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1056, allocations: 31.91 kB / 428.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.1057, allocations: 27.92 kB / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.1058, allocations: 12 kB / 428.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.1058, allocations: 15.92 kB / 428.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.1058, allocations: 15.92 kB / 428.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1058, allocations: 0 / 428.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.1059, allocations: 4 kB / 428.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.1059, allocations: 11.92 kB / 428.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1059, allocations: 23.81 kB / 428.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.832e-05/0.106, allocations: 35.77 kB / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.106, allocations: 0 / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.106, allocations: 0 / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.106, allocations: 4 kB / 428.5 MB, free: 3.145 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004617/0.1065, allocations: 371.2 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1066, allocations: 8.031 kB / 428.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.1066, allocations: 34.75 kB / 428.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.1066, allocations: 8.891 kB / 428.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1069, allocations: 188.2 kB / 429.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-06/0.1069, allocations: 384 / 429.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1069, allocations: 8.375 kB / 429.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1071, allocations: 89.61 kB / 429.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1071, allocations: 3.938 kB / 429.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-06/0.1071, allocations: 3.938 kB / 429.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1071, allocations: 0 / 429.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.1072, allocations: 23.92 kB / 429.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.1075, allocations: 253.8 kB / 429.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.1076, allocations: 53.08 kB / 429.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.1076, allocations: 13.78 kB / 429.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1076, allocations: 0 / 429.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1077, allocations: 38.56 kB / 429.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1077, allocations: 0 / 429.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.1079, allocations: 65.61 kB / 429.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1079, allocations: 81.05 kB / 429.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.108, allocations: 135.8 kB / 429.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1081, allocations: 33.95 kB / 429.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.1081, allocations: 84.12 kB / 430 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.1081, allocations: 4 kB / 430 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1082, allocations: 13.72 kB / 430 MB, free: 1.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1083, allocations: 314.8 kB / 430.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.1083, allocations: 11.98 kB / 430.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.1084, allocations: 13.72 kB / 430.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.704e-05/0.1084, allocations: 33.7 kB / 430.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1084, allocations: 3.938 kB / 430.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.1085, allocations: 57.58 kB / 430.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1085, allocations: 10.19 kB / 430.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1086, allocations: 0 / 430.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1086, allocations: 0 / 430.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.1086, allocations: 16.05 kB / 430.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1086, allocations: 0 / 430.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.1087, allocations: 4 kB / 430.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1087, allocations: 0 / 430.4 MB, free: 0.9258 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.957e-05/0.1087, allocations: 125.7 kB / 430.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.1088, allocations: 41.66 kB / 430.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.1088, allocations: 7.875 kB / 430.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1088, allocations: 0 / 430.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1088, allocations: 4.031 kB / 430.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1088, allocations: 3.938 kB / 430.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.109, allocations: 169.6 kB / 430.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.109, allocations: 0 / 430.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.109, allocations: 8 kB / 430.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1091, allocations: 3.984 kB / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.1091, allocations: 0 / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1091, allocations: 0 / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1091, allocations: 0 / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1092, allocations: 164.3 kB / 431 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.1093, allocations: 89.05 kB / 431 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1093, allocations: 3.938 kB / 431.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.262e-05/0.1093, allocations: 0 / 431.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1094, allocations: 7.984 kB / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1094, allocations: 3.938 kB / 431.1 MB, free: 200 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.1094, allocations: 109 kB / 431.2 MB, free: 92 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1094, allocations: 0 / 431.2 MB, free: 92 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.1096, allocations: 4 kB / 431.2 MB, free: 88 kB / 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004785/0.1101, allocations: 0.6898 MB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.1103, allocations: 23.92 kB / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1103, allocations: 0 / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.1103, allocations: 4 kB / 431.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1106, allocations: 16.02 kB / 431.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1118, allocations: 1.276 MB / 433.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1121, allocations: 0.6846 MB / 433.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.1121, allocations: 0 / 433.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.1121, allocations: 15.44 kB / 433.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1121, allocations: 0 / 433.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.1338, allocations: 1.379 MB / 435.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.671, allocations: 18.16 kB / 435.3 MB, free: 11.97 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.111511427909136]