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.001891/0.001891, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002286/0.002286, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.408/1.408, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001736/0.001736, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.101, allocations: 53.31 MB / 426.7 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002691/0.1037, allocations: 1.531 MB / 428.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003773/0.1041, allocations: 143.5 kB / 428.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.1041, allocations: 0 / 428.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.1042, allocations: 3.938 kB / 428.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.1043, allocations: 11.88 kB / 428.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1045, allocations: 35.89 kB / 428.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.996e-05/0.1046, allocations: 35.92 kB / 428.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1047, allocations: 15.97 kB / 428.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.1048, allocations: 11.94 kB / 428.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.1048, allocations: 15.86 kB / 428.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1048, allocations: 4 kB / 428.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.1048, allocations: 4 kB / 428.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1049, allocations: 8 kB / 428.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.1049, allocations: 27.8 kB / 428.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.105, allocations: 47.75 kB / 428.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.105, allocations: 0 / 428.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.105, allocations: 3.938 kB / 428.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1051, allocations: 0 / 428.5 MB, free: 3.102 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.0004739/0.1055, allocations: 371.1 kB / 428.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1056, allocations: 16.03 kB / 428.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.1056, allocations: 38.69 kB / 429 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.1056, allocations: 12.88 kB / 429 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1059, allocations: 184.2 kB / 429.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1059, allocations: 8.375 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1059, allocations: 4.375 kB / 429.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.1061, allocations: 117.6 kB / 429.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1062, allocations: 3.938 kB / 429.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1062, allocations: 0 / 429.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1062, allocations: 0 / 429.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.1062, allocations: 23.92 kB / 429.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1066, allocations: 257.8 kB / 429.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1068, allocations: 142.2 kB / 429.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.1068, allocations: 25.77 kB / 429.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1068, allocations: 0 / 429.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1069, allocations: 38.56 kB / 429.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1069, allocations: 0 / 429.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002269/0.1071, allocations: 77.55 kB / 429.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.1072, allocations: 89.05 kB / 429.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1073, allocations: 131.9 kB / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1073, allocations: 25.7 kB / 430.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1074, allocations: 92.27 kB / 430.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.1074, allocations: 3.953 kB / 430.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.1074, allocations: 25.64 kB / 430.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1075, allocations: 314.8 kB / 430.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.1076, allocations: 11.98 kB / 430.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.533e-05/0.1076, allocations: 27.44 kB / 430.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/0.1077, allocations: 47.36 kB / 430.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1077, allocations: 3.938 kB / 430.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.1078, allocations: 69.61 kB / 430.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1078, allocations: 8.125 kB / 430.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1078, allocations: 0 / 430.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1079, allocations: 4.281 kB / 430.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.1079, allocations: 7.938 kB / 430.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1079, allocations: 15.91 kB / 430.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.108, allocations: 3.953 kB / 430.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.108, allocations: 8 kB / 430.7 MB, free: 0.625 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 8.805e-05/0.108, allocations: 117.8 kB / 430.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.1081, allocations: 53.67 kB / 430.9 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.1082, allocations: 12.25 kB / 430.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1082, allocations: 0 / 430.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1082, allocations: 0 / 430.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1082, allocations: 7.984 kB / 430.9 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1083, allocations: 165.6 kB / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1083, allocations: 0 / 431.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.1084, allocations: 19.92 kB / 431.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1084, allocations: 0 / 431.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.1084, allocations: 0 / 431.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1084, allocations: 4 kB / 431.1 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1084, allocations: 4 kB / 431.1 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1086, allocations: 164.3 kB / 431.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1086, allocations: 89.03 kB / 431.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1087, allocations: 4 kB / 431.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.1087, allocations: 0 / 431.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.1087, allocations: 4 kB / 431.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1087, allocations: 4 kB / 431.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.313e-05/0.1088, allocations: 111.2 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1088, allocations: 0 / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000213/0.109, allocations: 4 kB / 431.5 MB, free: 15.76 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.0004723/0.1095, allocations: 0.7053 MB / 432.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1096, allocations: 35.91 kB / 432.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1096, allocations: 0 / 432.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.1097, allocations: 4 kB / 432.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.11, allocations: 22.77 kB / 432.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1112, allocations: 1.328 MB / 433.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1115, allocations: 0.6924 MB / 434.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.117e-05/0.1115, allocations: 0 / 434.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.1115, allocations: 23.36 kB / 434.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1116, allocations: 0 / 434.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.1346, allocations: 1.467 MB / 435.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.681, allocations: 3.984 kB / 435.7 MB, free: 11.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.197004646994174]