Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.001351/0.001351, allocations: 111.8 kB / 18.49 MB, free: 4.562 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.00128/0.00128, allocations: 194.6 kB / 21.43 MB, free: 1.633 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.398/1.398, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 51.92 kB / 366.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 52.14 MB / 418.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.00252/0.1044, allocations: 0.8747 MB / 419.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003586/0.1048, allocations: 111.6 kB / 419.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.1049, allocations: 4 kB / 419.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.772e-05/0.1049, allocations: 3.938 kB / 419.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.1051, allocations: 7.938 kB / 419.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1053, allocations: 39.89 kB / 419.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1054, allocations: 47.84 kB / 419.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1055, allocations: 12 kB / 419.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.1056, allocations: 27.91 kB / 419.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.1056, allocations: 15.86 kB / 419.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1056, allocations: 4 kB / 419.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.1056, allocations: 4 kB / 419.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.1057, allocations: 11.98 kB / 419.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.1057, allocations: 27.75 kB / 419.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1059, allocations: 59.67 kB / 419.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1059, allocations: 0 / 419.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1059, allocations: 0 / 419.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1059, allocations: 0 / 419.7 MB, free: 11.45 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004678/0.1063, allocations: 379.1 kB / 420.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1064, allocations: 12.03 kB / 420.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.287e-05/0.1064, allocations: 192 / 420.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.1064, allocations: 38.75 kB / 420.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1065, allocations: 8.891 kB / 420.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.1067, allocations: 196.1 kB / 420.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1067, allocations: 4.375 kB / 420.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1068, allocations: 4.375 kB / 420.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.107, allocations: 131.6 kB / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1071, allocations: 0 / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1071, allocations: 4 kB / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1071, allocations: 4 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.1071, allocations: 15.94 kB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1073, allocations: 173.6 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1074, allocations: 66.7 kB / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.1075, allocations: 32.89 kB / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.1075, allocations: 4 kB / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1075, allocations: 34.5 kB / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1075, allocations: 0 / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001914/0.1077, allocations: 89.81 kB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.1078, allocations: 59.41 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1079, allocations: 129.8 kB / 421.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1079, allocations: 29.64 kB / 421.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.108, allocations: 96.06 kB / 421.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.108, allocations: 0 / 421.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.108, allocations: 29.67 kB / 421.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1082, allocations: 314.8 kB / 421.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.1082, allocations: 16 kB / 421.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.1083, allocations: 58.88 kB / 421.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.1083, allocations: 70.75 kB / 421.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1083, allocations: 4 kB / 421.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000148/0.1085, allocations: 89.61 kB / 421.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1085, allocations: 7.938 kB / 421.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1085, allocations: 7.984 kB / 421.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1085, allocations: 0 / 421.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.005e-05/0.1085, allocations: 7.938 kB / 421.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1086, allocations: 4 kB / 421.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.1086, allocations: 7.891 kB / 421.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1086, allocations: 4 kB / 421.8 MB, free: 9.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001039/0.1087, allocations: 131.3 kB / 421.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1088, allocations: 81.5 kB / 422 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.1088, allocations: 12.38 kB / 422 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1088, allocations: 0 / 422 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1088, allocations: 0 / 422 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1089, allocations: 4 kB / 422 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.109, allocations: 169.6 kB / 422.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.109, allocations: 4 kB / 422.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.109, allocations: 0 / 422.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.109, allocations: 7.922 kB / 422.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.109, allocations: 8 kB / 422.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.109, allocations: 0 / 422.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.109, allocations: 0 / 422.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1092, allocations: 97.02 kB / 422.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.1092, allocations: 96.98 kB / 422.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1093, allocations: 0 / 422.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.1093, allocations: 4 kB / 422.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-06/0.1093, allocations: 0 / 422.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1093, allocations: 8 kB / 422.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.807e-05/0.1094, allocations: 109.6 kB / 422.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1094, allocations: 3.938 kB / 422.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.1096, allocations: 11.94 kB / 422.5 MB, free: 8.238 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005646/0.1101, allocations: 0.6631 MB / 423.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1102, allocations: 51.91 kB / 423.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1103, allocations: 0 / 423.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1103, allocations: 0 / 423.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1106, allocations: 44.55 kB / 423.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1119, allocations: 1.317 MB / 424.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1122, allocations: 0.6968 MB / 425.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.1123, allocations: 7.984 kB / 425.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.1123, allocations: 15.44 kB / 425.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1123, allocations: 0 / 425.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.131, allocations: 1.748 MB / 427.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/7.873, allocations: 19.11 kB / 427.1 MB, free: 3.648 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.u,assignClock1.y,integerConstant.k,integerConstant.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,xor.u1,xor.u2,xor.y [Calling sys.exit(0), Time elapsed: 10.273155073984526]