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.001285/0.001285, 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.001333/0.001333, 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.383/1.383, allocations: 225.6 MB / 249.1 MB, free: 3.605 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 51.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002539/0.106, allocations: 0.8687 MB / 418.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000416/0.1064, allocations: 119.5 kB / 418.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.1065, allocations: 4 kB / 418.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.31e-05/0.1066, allocations: 15.86 kB / 418.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1067, allocations: 3.938 kB / 418.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.107, allocations: 39.89 kB / 418.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1071, allocations: 39.92 kB / 418.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1072, allocations: 11.98 kB / 418.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.1073, allocations: 15.94 kB / 418.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.1073, allocations: 23.86 kB / 418.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1073, allocations: 3.938 kB / 418.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.1073, allocations: 4 kB / 418.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.1074, allocations: 19.91 kB / 418.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1074, allocations: 31.86 kB / 419 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1076, allocations: 47.7 kB / 419 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1076, allocations: 0 / 419 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1076, allocations: 0 / 419 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1076, allocations: 0 / 419 MB, free: 11.37 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.0005328/0.1081, allocations: 383.1 kB / 419.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1082, allocations: 8.031 kB / 419.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.1082, allocations: 34.75 kB / 419.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.1083, allocations: 8.891 kB / 419.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1086, allocations: 204.1 kB / 419.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1086, allocations: 4.375 kB / 419.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1086, allocations: 4.375 kB / 419.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1089, allocations: 123.9 kB / 419.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1089, allocations: 3.938 kB / 419.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1089, allocations: 0 / 419.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1089, allocations: 4 kB / 419.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.109, allocations: 23.92 kB / 419.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.1092, allocations: 173.6 kB / 420 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.1093, allocations: 54.72 kB / 420 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1094, allocations: 32.89 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.1094, allocations: 0 / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1094, allocations: 42.56 kB / 420.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 7.91e-07/0.1094, allocations: 3.938 kB / 420.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002293/0.1096, allocations: 93.55 kB / 420.2 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.1097, allocations: 55.41 kB / 420.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1098, allocations: 132.1 kB / 420.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1098, allocations: 25.7 kB / 420.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.1099, allocations: 88.08 kB / 420.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1099, allocations: 8 kB / 420.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.11, allocations: 33.66 kB / 420.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1101, allocations: 318.8 kB / 420.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.1101, allocations: 7.984 kB / 420.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.1102, allocations: 58.81 kB / 420.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1103, allocations: 74.73 kB / 421 MB, free: 9.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1103, allocations: 8 kB / 421 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001329/0.1104, allocations: 81.56 kB / 421.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1105, allocations: 11.94 kB / 421.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1105, allocations: 0 / 421.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1105, allocations: 4 kB / 421.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.343e-05/0.1105, allocations: 11.92 kB / 421.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1105, allocations: 256 / 421.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1106, allocations: 19.89 kB / 421.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1106, allocations: 4 kB / 421.1 MB, free: 8.98 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.0001038/0.1107, allocations: 117.8 kB / 421.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.1108, allocations: 81.5 kB / 421.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.1108, allocations: 12.38 kB / 421.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1108, allocations: 3.984 kB / 421.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1108, allocations: 0 / 421.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1108, allocations: 0 / 421.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.1109, allocations: 169.7 kB / 421.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1109, allocations: 0 / 421.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.111, allocations: 4 kB / 421.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.111, allocations: 3.938 kB / 421.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.111, allocations: 0 / 421.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.111, allocations: 3.984 kB / 421.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.111, allocations: 0 / 421.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1111, allocations: 105 kB / 421.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.1112, allocations: 93.05 kB / 421.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1112, allocations: 11.94 kB / 421.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.1112, allocations: 0 / 421.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.1112, allocations: 0 / 421.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1112, allocations: 0 / 421.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.1113, allocations: 109.6 kB / 421.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1113, allocations: 3.938 kB / 421.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.1115, allocations: 12 kB / 421.8 MB, free: 8.164 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.0005502/0.112, allocations: 0.6753 MB / 422.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1122, allocations: 39.92 kB / 422.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.1122, allocations: 0 / 422.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1122, allocations: 0 / 422.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.1125, allocations: 40.52 kB / 422.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.1139, allocations: 1.325 MB / 423.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1142, allocations: 0.6929 MB / 424.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.847e-05/0.1142, allocations: 4 kB / 424.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.1143, allocations: 19.42 kB / 424.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1143, allocations: 4 kB / 424.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/0.1977, allocations: 1.711 MB / 426.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.773, allocations: 8.766 kB / 426.4 MB, free: 3.594 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.189388402737677]